Simple wrapper functions for plotly visualization package
Project description
PlotlyExtreme
Set of wrapper functions to abstract repetitive tasks related to plotting with the plotly library.
Current Plots
Plot a Big Number
plots.create_big_number
Plot Four Dimensions using Buttons
plots.plot_four_dimensions
Example
import pandas as pd
from plotlyextreme import plots
df = pd.DataFrame({
'abc':[1,2,3,1,1,2,3,1],
'def':[4,5,6,4,6,4,6,4],
'ghi':['a', 'b', 'a', 'b', 'a', 'b', 'a', 'b'],
'jkl':['z', 'z', 'z', 'z', 'y', 'y', 'y', 'y'],
'annotation_one': ['a', 'a', 'a', 'a', 'a', 'a', 'a', 'a'],
'annotation_two': ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
})
plots.create_big_number(title='abc', large_number=123, pacing=.7)
plots.plot_four_dimensions(df, x='abc', y='def', title='alphabet', segmentation_col='ghi', button_col='jkl',
buttons=['z', 'y'], default_visibility='z')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plotlyextreme-0.0.3.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for plotlyextreme-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6221473f600c645722a78d424138a1e2ac15be452112f997941c791e7e526c6 |
|
MD5 | 1342f18b6a2b5d00edf7f3cc36075998 |
|
BLAKE2b-256 | e141381ee04fde1acd2711e17f294b3c844d8801a0785ccd3cb266609712aad3 |