Get started with PipePlotly in three simple steps.
Install the core package. For full features (including statistical smoothing), use the full extra.
full
pip install pipeplotly[full]
PipePlotly's "North Star" is the pipe operator (>>). Import the verbs you need and flow your data.
>>
import pandas as pd from pipeplotly import Plot from pipeplotly.verbs import plot_points, add_color, show # Create data df = pd.DataFrame({ 'weight': [10, 20, 30, 40], 'height': [100, 110, 120, 130], 'type': ['A', 'A', 'B', 'B'] }) # The Pipeline df >> Plot() >> plot_points('weight', 'height') >> add_color('type') >> show()
Want to zoom, hover, and pan? Simply inject to_interactive() into your existing pipeline.
to_interactive()
(df >> Plot() >> plot_points('weight', 'height') >> add_color('type') >> to_interactive() # Switch to Plotly backend >> show())
There was an error while loading. Please reload this page.