Plotting from the command line
Project description
shellplot
“We should have never left the command line.”
Shellplot is the plotting package that you didn’t know you needed. Plotting, straight outta the command line.
Please take a look at the documentation, which contains many examples.
Installation
Run:
pip install shellplot
Quickstart
As shellplot replicates the matplotlib API, it’s as easy as:
>>> import shellplot as plt >>> df = plt.load_dataset("penguins") >>> plt.plot(df["bill_length_mm"], df["flipper_length_mm"], color=df["species"]) flipper_length_mm | 237┤ | | o o oo o o o | ooo o o o | ooooo 223┤ o oooo ooo oo o | o o ooo oo oo oo o o | oo oo ooooo oo o | o o o ooooo o oo o 209┤ oo oo + oooo o oo* * * | + o oo o o * * | + o * ** ** | + + +++ * * *** * * | + ++++ + +++++ * + * * ** * ** 195┤ +++ + +++ +++++++ + ** * * * * * * | + ++ +++ +++++++++ + ** ** * * ** | + + ++++++ ++++++ ++ + **** * | + ++++++ ++ ++ +* * * * * * | + + ++ + ++ 181┤ + +++++ + +* * | + + + + * | + + Adelie | + * Chinstrap 167┤ o Gentoo ├------------┬-------------┬-------------┬-------------┬-------------┬ 31 37 43 49 55 61 bill_length_mm
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for shellplot-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da900c8d0e4dfdb4e5fcdd3988d36eb01fbbfcd2f2dadd0accd0ca8f770090d9 |
|
MD5 | 97eabe9e0ead0ec80bc636ae6d08945b |
|
BLAKE2b-256 | 2c0fdfb779c073e64828c4999f2b912cbeefd68faf2d675f424416e609779154 |