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.2.tar.gz (3.6 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.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicobalta_easyplot-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 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.2.tar.gz
Algorithm Hash digest
SHA256 90a52519a20ce6c90f9cc54fa3730190226c8a1954659a882eeb2a8e46c25a55
MD5 6cd2f31f5aa169c5e2c0342e95176243
BLAKE2b-256 b187a993bdab0643e64318c1af525c5df81012086a3b51d4156cd10699339b23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicobalta_easyplot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2e7c586f96e90257645fe77abdd4c302e918c757dfe9737cc1a24922c9d6e6
MD5 a3dda9449b27819c7454debda1c30076
BLAKE2b-256 4a7b49e2afe18fd7e09b20cd0f9f9a714e42b485585370288f3b3f83946d2315

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