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.4.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.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nicobalta_easyplot-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 c71131ce53b94da528a8d0b1ce2278881c288f8046d58adb043bcc26292b6cac
MD5 d717096900ec2559c65563289793f6cd
BLAKE2b-256 683d487e3b7cd5a01b9ff1b64cc3715fb00572abb3e4ad086afeaa216fb302d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nicobalta_easyplot-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe79430fa28935524cce5a1378f01e3c5f8dbcee1e2db693925e6ab3d3876b59
MD5 e7a7af5f830c9ac79715cab8bb41ef92
BLAKE2b-256 2cde97902dcc024f313c3cec5f996b650c53a361504717c442a42d81869f8f37

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