Skip to content

Commit

Permalink
painful updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Feb 10, 2021
1 parent 83b7c65 commit cb475f1
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,38 @@ functional `api`_. It currently supports scatter, line, histogram, bar and
boxplots. It's as easy as:


.. code-block::
.. code-block:: python
>>> 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
232┤ o oo oo o o o
| oo o o o
| oooo
| o oooo ooo oo o
| oo oooo oo o o o o o
217┤ o o oo ooooo ooo o
| o o o ooooo o o*oo
| o oo + oooo oooo * *
| + oooo o o * *
| ++ o * ** **
202┤ + + * ** ** *
| + ++++ + + * ** ****
| ++ +++ +++ +++ + ** ** ***** **
| +++ ++++ ++ ++ + *+** * ***
| + + ++++++++++ ++++ *+*** * *
187┤+ + + ++ +++++++*+ * * ** *
| ++ ++++++ + +++ *
| + ++ + + + * *
| + ++ + * + Adelie
| + + * Chinstrap
172┤ + o Gentoo
└┬----------┬---------┬----------┬----------┬----------┬------
32 37 42 47 52 57
bill_length_mm
flipper_length_mm
232┤ o oo oo o o o
| oo o o o
| oooo
| o oooo ooo oo o
| oo oooo oo o o o o o
217┤ o o oo ooooo ooo o
| o o o ooooo o o*oo
| o oo + oooo oooo * *
| + oooo o o * *
| ++ o * ** **
202+ + * ** ** *
| + ++++ + + * ** ****
| ++ +++ +++ +++ + ** ** ***** **
| +++ ++++ ++ ++ + *+** * ***
| + + ++++++++++ ++++ *+*** * *
187+ + + ++ +++++++*+ * * ** *
| ++ ++++++ + +++ *
| + ++ + + + * *
| + ++ + * + Adelie
| + + * Chinstrap
172+ o Gentoo
└┬-------------------------------------------------------
32 37 42 47 52 57
bill_length_mm
Shellplot also provides a convenient integration with `pandas`_. Simply set the
Expand Down

0 comments on commit cb475f1

Please sign in to comment.