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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for kora_quickdraw-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf355a57f0b4687231c35dbc092806c656dc14dd274f28b5007e4ce18a4e59a1 |
|
MD5 | 7d5ebd9b3eda009442927756f7a38a32 |
|
BLAKE2b-256 | 348273c22d79880df653d7a401f8729dc4bd422d8734e749640baab46162cc06 |