https://github.com/simon-ritchie/plot_playground
PlotPlaygound is a plot library that works on Jupyter and Pandas datasets. Notes: currently developing phase.
https://github.com/simon-ritchie/plot_playground
Last synced: over 1 year ago
JSON representation
PlotPlaygound is a plot library that works on Jupyter and Pandas datasets. Notes: currently developing phase.
- Host: GitHub
- URL: https://github.com/simon-ritchie/plot_playground
- Owner: simon-ritchie
- License: mit
- Created: 2019-01-19T02:30:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T04:55:56.000Z (over 7 years ago)
- Last Synced: 2025-02-25T11:35:46.695Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 1.06 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PlotPlayground is a plot library that works on Jupyter and Pandas datasets. This is for making a little unusual plot and playing.
# Comparability notes
- It is compatible with Python 3.4 or later version.
- The browser is compatible mainly with Chrome. IE and Edge are not supported. However, Edge will change depending on Chromium transition in future version upgrade.
# Installing
```
$ pip install plot_playground
```
# Examples
## Storytelling simple line date series plot
- This plot is inspired by the wonderful book [Storytelling with Data: A Data Visualization Guide for Business Professionals](https://www.amazon.com/Storytelling-Data-Visualization-Business-Professionals/dp/1119002257/).
- It is useful when you want to show where you should tell in a short time.


\>\> [More defail and document](https://nbviewer.jupyter.org/github/simon-ritchie/plot_playground/blob/master/documents/storytelling_simple_line_date_series_plot/document.html)
## Storytelling Slope plot
- This may be useful to quickly understand how each element fluctuated in two transitions and grasp the magnitude relation of the elements.


\>\> [More detail and document](https://nbviewer.jupyter.org/github/simon-ritchie/plot_playground/blob/master/documents/storytelling_slope_plot/document.html)
# Linux stats plot
- You can plot Ubuntu's memory usage, disk usage, and GPU memory usage on the notebook.
- Supported local machine and Kaggle Kernel, not supported Colaboratory, Azure Notebooks, etc.
- It will be updated in real time, and not block the execution of other cells.

# Colaboratory and Kaggle Kernel
PlotPlayground also supports Google Colaboratory and Kaggle Kernel. Even in these environments you can install with the pip command.

Notes: **To use it on Kaggle Kernel, you need to switch the menu setting to "Internet Connected" and execute the pip command.**

\>\> [More detail and document (Kaggle Kernel)](https://www.kaggle.com/simonritchie/plotplayground-linux-stats-plot-examplel)
# Testing
Please use Windows10 to run the test.
The following libraries are used for testing:
```
$ pip install chromedriver-binary==2.45.0
$ pip install selenium==3.13.0
$ pip install win10toast==0.9
$ pip install Pillow==5.2.0
$ pip install jupyter==1.0.0
$ pip install notebook==5.5.0
$ pip install opencv-python==4.0.0.21
$ pip install numpy==1.14.5
$ pip install voluptuous==0.11.5
# pip install nose==1.3.7
```
After installing the library, the test is executed with the following command:
```
$ python run_tests.py
```
To perform tests on individual module units, execute as shown in the following command:
```
$ python run_tests.py --module_name plot_playground.tests.test_selenium_helper
```
**If the coordinates of the test screenshot do not match:**
Maybe the magnification of the screen resolution is other than 100%. Please try setting 100% once.