Skip to main content

Introduces a simple function to plot graphs with matplotlib in one function

Project description

EZplot

A simple wrapper around matplotlib for quick and readable plots in one single line.

Installation

pip install nicobalta-easyplot
import nicobalta_easyplot

Example

simple_graph(
    [x1, x2],
    [y1, y2],
    colors=["blue", "red"],
    labels=["curve 1", "curve 2"],
    title="Multiple plots"
)

simple_graph parameters

  • X, Y: data to plot
  • colors: list of colors
  • linestyles: list of line styles
  • linewidths: list of line widths
  • labels: list of labels
  • labels: list of markers
  • size: size of the plot
  • title: plot title
  • xaxis: title of x axis
  • yaxis: title of y axis
  • ticks: ticks of the plot

License

MIT

Versions

See CHANGELOG.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nicobalta_easyplot-0.1.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nicobalta_easyplot-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file nicobalta_easyplot-0.1.3.tar.gz.

File metadata

  • Download URL: nicobalta_easyplot-0.1.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nicobalta_easyplot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a3de665164feab48844e713c970236bd26c0bbaa75021ba79c62f1bcdc4f5122
MD5 3e9087b505299b7de6aad9dd925bdeac
BLAKE2b-256 797aa5f284815c2c772b13103eae7ac3dd3e5dc271911b48302a8b82b1a4699f

See more details on using hashes here.

File details

Details for the file nicobalta_easyplot-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nicobalta_easyplot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f5453e32dd08ac899687828a821d21c84b78c97288343618ef6a68dbb54280
MD5 5a44adec83703b9047fc1ca01ab1b2c8
BLAKE2b-256 f04132d257ece8376fb755adb6aa88406706bca437db7f2400aee4d47e4e7423

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page