EuroSciPy logo


Cambridge, UK - 27-30 August 2014

Plotly: Collaboritive Python and matplotlib Plotting

Matthew Sundquist

Sat 30 2:20 p.m.–2:40 p.m. in William Gates Building



Plotly's Python API and sandbox let you make and share beautiful, web-based plots. This talk will be a walk-through of Plotly's library. We will craft and embed interactive graphs within an IPython Notebook from our gallery, use Plotly's GUI to edit and share graphs, and use Plotly's matplotlib wrapper to create web-based graphs and data files from matplotlib scripts.

Plotly: GitHub for Data and Graphs

Plotly is an online plotting platform. Think of it like GitHub, but for sharing data, graphs, and scripts for plotting. Plotly has a GUI and APIs for making graphs with Python, R, MATLAB, Perl, Julia, Arduino, Ruby, Raspberry Pi, and REST. The APIs let users make and share web-based graphs and interface a desktop environment with Plotly. Public sharing is free, users own their data, and users control whether data and graphs are public or private. Plotly also always pairs data and graphs, and lets you import by uploading or live-streaming.

What We'll Build

Plotly allows users to make graphs with the GUI, Python, or other programming languages. We will make a number of beautiful graphs. We will make graphs with Python, share a graph, and then edit with the GUI or another programming language of choice. We will also uses Plotly's matplotlib wrapper to make web-based Plotly graphs from matplotlib figures.

We will add data to a pre-existing graph, making a new version and always reverting back to previous versions. We will make a graph and store scripts, data sets, graphs, and past versions of files in Plotly.

Authors, and journalists from the and Wired Science use these Plotly features and the capacity to embed graphs in an iframe. We will conclude by showing how to optimize your embedding.