Skip to main content

Plotting from the command line

Project description

Built Status Documentation Status Coveralls PyPI-Server

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

shellplot-0.1.1-py2.py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 2 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