Skip to main content

Python plotting library for collaborative, interactive, publication-quality graphs.

Project description

The Nutshell

Use this package to make collaborative, interactive, publication-quality graphs from Python.

Here’s how you import:

import plotly.plotly as py              # for sending things to plotly
import plotly.tools as tls              # for mpl, config, etc.
from plotly.graph_objs import *         # __all__ is safely defined

Here’s how you sign in:

py.sign_in('PythonAPI', 'ubpiol2cve')   # get your own at https://plot.ly/

Here’s how you plot data or a figure:

py.plot(data_or_figure_here)

Here’s what you get:

  • an account on plotly

  • a unique url for your data/figures

  • an interactive web-application to edit your figure or make new figures

  • a platform on which to share your data/figures with the world

You can also convert supported matplotlib figures:

py.plot_mpl(mplfig)

Stop fighting with your figures; start designing them. Check out our Quickstart to get going.

About

Plotly is an online collaborative data analysis and graphing tool. The Python API allows you to access all of Plotly’s functionality from Python. Plotly figures are shared, tracked, and edited all online and the data is always accessible from the graph.

That’s it. Find out more, sign up, and start sharing by visiting us at https://plot.ly.

Install via pip

Assuming you have already installed pip, you can simply enter the following in a terminal program:

$ pip install plotly

Contributing!

If you want to contribute to making Plotly’s Python API experience better, head to our GitHub repo. Instructions for installing from here, updating the included submodules, and contributing are detailed there!

Plotly, matplotlib, and mpld3

The matplotlylib sub-package allows you to convert matplotlib figures to plotly figures, with a one-liner:

py.plot_mpl(fig)

Checkout the Plotly and mpld3 IPython notebook for more information.

Introduction to working with out API

Checkout the Plotly and Python IPython notebook to get a more in depth exposition of our Python API.

Plotly’s guide book

Still here? Don’t worry, we’ve got more documentation for you. Checkout a highly complete set of notebooks for walk-throughs on all the features we offer!

Details

The plotly package depends on requests, which will be installed by pip for you.

To use the matplotlylib subpackage, you’ll also need to have matplotlib 1.3.1 properly installed on your machine.

The matpotlylib package is based on the mplexporter framework for crawling and exporting matplotlib images.

Created by: Plotly, @plotlygraphs, feedback@plot.ly

License: MIT

Project details


Release history Release notifications | RSS feed

This version

3.7.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotly-3.7.0.tar.gz (28.6 MB view details)

Uploaded Source

Built Distribution

plotly-3.7.0-py2.py3-none-any.whl (38.5 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file plotly-3.7.0.tar.gz.

File metadata

  • Download URL: plotly-3.7.0.tar.gz
  • Upload date:
  • Size: 28.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for plotly-3.7.0.tar.gz
Algorithm Hash digest
SHA256 0d85289494a6da90b16a5c4be87a38b58491a823a19d40b7e5ab28f68d71f860
MD5 7b500d49571e2159665a37b3fe365c3f
BLAKE2b-256 a2653497d44e133282520320efa0d69f86c44765bd60c693beda019cb56393fb

See more details on using hashes here.

Provenance

File details

Details for the file plotly-3.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: plotly-3.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 38.5 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for plotly-3.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a891661fdc343819abcbd1660ba67d5a8741616274569c34d2e36c003ba1b9f6
MD5 533a31c5202cb57384ac287d1cffb5ef
BLAKE2b-256 3999bb44c2b42b8a3cfe18d22e20e4beaaf0a5edf1608ebdfaae5e7f2b8274b9

See more details on using hashes here.

Provenance

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