Skip to main content

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.

The plotly functions are passed as arguments to limit what this package has to handle.

Current Plots

Plot a Big Number

plots.create_big_number

Big Number

Plot Four Dimensions using Buttons

plots.plot_four_dimensions

Four Dimensions with Annotations

Example

import pandas as pd
from plotly.offline import iplot
import plotly.graph_objs as go
import plotly

from plotlyextreme import plots

df = pd.DataFrame({
                    'abc':[1000,5000,3000,1000,1000,1500,8000,1000],
                    '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,
                        render_func=iplot)

plots.plot_four_dimensions(df, x='abc', y='def', title='alphabet',
                           segmentation_col='ghi',    button_col='jkl',
                           buttons=['z', 'y'], default_visibility='z',
                           trace_func=go.Scatter, render_func=iplot),
                           x_layout=go.layout.XAxis(tickformat=',d'))

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.4.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plotlyextreme-0.0.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file plotlyextreme-0.0.4.tar.gz.

File metadata

  • Download URL: plotlyextreme-0.0.4.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for plotlyextreme-0.0.4.tar.gz
Algorithm Hash digest
SHA256 88e6cd06651fc02437d2c1be6adbe47c683bbaa575488703c6b9b7da82afe5c1
MD5 687530d1619530ec94b82a0fe29527d1
BLAKE2b-256 b9e8aeb44ab8750f90351ad74e67d0a47cd90b2eedaa605769587496dbe8124d

See more details on using hashes here.

File details

Details for the file plotlyextreme-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: plotlyextreme-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for plotlyextreme-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 00e1d9ba2fee50d59a8e2a185c14065c59915f2973bfe89d367186d522259240
MD5 8e05eb7830e9a5f06f510be2fe9bb692
BLAKE2b-256 7f1e2d77ed52444d7b4b1f9b2bb256baa35c6d06881905d55ae5e4a034034593

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page