Skip to main content

Quick graph simple matplotlib

Project description

kora_quickdraw

Matplotlib simple graph template

Install

pip install kora_quickdraw

Usage

There two commands

  • defining figure and axes
  • showing graph
fig, ax1, ax2 = start_plot2()
...
show_plot2(1, fig, ax1, ax2)

Full example

In example directory

from kora_quickdraw import *
import numpy as np

x = np.linspace(-np.pi , np.pi)
y1 = np.sin(x)
y2 = np.cos(x)

fig, ax1, ax2 = start_plot2()
ax1.plot(x,y1)
ax1.plot(x,y2)
ax2.plot(x, y1*y2)
show_plot2(1, fig, ax1, ax2, t1="sin(x) and cos(x)", t2="sin(x) x cos(x)", y2='y')

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

kora_quickdraw-0.0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

kora_quickdraw-0.0.2-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

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