Skip to content


Backends are the lifeblood of Plots, and the diversity between features, approaches, and strengths/weaknesses was one of the primary reasons that I started this package.

For those who haven't had the pleasure of hacking on 15 different plotting APIs: First, consider yourself lucky. However, you will probably have a hard time choosing the right backend for your task at hand. This document is meant to be a guide and introduction to making that choice.

For the impatient

My favorites: GR for speed, Plotly(JS) for interactivity, PyPlot otherwise.

If you require... ... then use...
features PyPlot, Plotly(JS), GR
speed GR, InspectDR
interactivity Plotly(JS), PyPlot, InspectDR
beauty Plotly(JS), PGFPlots
REPL Plotting UnicodePlots
3D plots PyPlot, GR, Plotly(JS)
a GUI Window GR, PyPlot, PlotlyJS, InspectDR
a small footprint UnicodePlots, Plotly
plot+data -> .hdf5 file HDF5

Of course nothing in life is that simple. Likely there are subtle tradeoffs between backends, long hidden bugs, and more excitement. Don't be shy to try out something new!


A Julia wrapper around the popular python package PyPlot (Matplotlib). It uses PyCall.jl to pass data with minimal overhead.


  • Tons of functionality
  • 2D and 3D
  • Mature library
  • Standalone or inline
  • Well supported in Plots


  • Uses python
  • Dependencies frequently cause setup issues
  • Inconsistent output depending on Matplotlib version

Primary author: Steven G Johnson (@stevengj)

Plotly / PlotlyJS

These are treated as separate backends, though they share much of the code and use the Plotly javascript API. plotly() is the only dependency-free plotting option, as the required javascript is bundled with Plots. It can create inline plots in IJulia, or open standalone browser windows when run from the Julia REPL.

plotlyjs() is the preferred option, and taps into the great functionality of Spencer Lyon's PlotlyJS.jl. Inline IJulia plots can be updated from any cell... something that makes this backend stand out. From the Julia REPL, it taps into Blink.jl and Electron to plot within a standalone GUI window... also very cool. Also, PlotlyJS supports saving the output to more formats than Plotly, such as EPS and PDF, and thus is the recommended version of Plotly for developing publication-quality figures.



  • No custom shapes
  • JSON may limit performance

Primary PlotlyJS.jl author: Spencer Lyon (@spencerlyon2)


Super fast with lots of plot types. Still actively developed and improving daily.


  • Speed
  • 2D and 3D
  • Standalone or inline


  • Limited interactivity
  • Plots integration is still a work in progress

Primary author: Josef Heinen (@jheinen)


Simple and lightweight. Plot directly in your terminal. You won't produce anything publication quality, but for a quick look at your data it is awesome.


  • Minimal dependencies
  • Lightweight
  • Fast
  • REPL plotting


  • Limited functionality

Primary author: Christof Stocker (@Evizero)


LaTeX plotting, based on PGF/TikZ.


To add save a standalone .tex file including a preamble use attribute tex_output_standalone = true in your plot command.


  • Nice looking plots
  • Lots of functionality (though the code is still WIP)


  • Tricky to install
  • Heavy-weight dependencies


  • PGFPlots: Christian Feuersanger
  • PGFPlots.jl: Mykel Kochenderfer (@mykelk), Louis Dressel (@dressel), and others
  • Plots <–> PGFPlots link code: Patrick Kofod Mogensen (@pkofod)


Fast plotting with a responsive GUI (optional). Target: Quickly identify design/simulation issues & glitches in order to shorten design iterations.


  • Relatively short load times / time to first plot.
  • Interactive mouse/keybindings.

    • Fast & simple way to pan/zoom into data.
    • Drag & drop Δ-markers (Measure/display Δx, Δy & slope).
    • Designed with larger datasets in mind.

    • Responsive even with moderate (>200k points) datasets.

    • Confirmed to handle 2GB datsets with reasonable speed on older desktop running Windows 7 (drag+pan of data area highly discouraged).


  • Mostly limited to 2D line/scatter plots

Primary author: MA Laforge (@ma-laforge)

HDF5 (HDF5-Plots)

Write plot + data to a single HDF5 file using a human-readable structure that can easily be reverse-engineered.

Write to .hdf5 file

hdf5() #Select HDF5-Plots "backend"
p = plot(...) #Construct plot as usual
Plots.hdf5plot_write(p, "plotsave.hdf5")

Read from .hdf5 file

pyplot() #Must first select some backend
pread = Plots.hdf5plot_read("plotsave.hdf5")


  • Open, standard file format for complex datasets.
  • Human readble (using HDF5view).
  • Save plot + data to a single binary file.
  • (Re)-render plots at a later time using your favourite backend(s).


  • Currently missing support for SeriesAnnotations & GridLayout.

    • (Please open an "issue" if you have a need).
    • Not yet designed for backwards compatibility (no proper versionning).

    • Therefore not truly adequate for archival purposes at the moment.

    • Currently implemented as a "backend" to avoid adding dependencies to Plots.jl.

Primary author: MA Laforge (@ma-laforge)

The future: works in progress


A really awesome 2D/3D visualization library written in Julia and OpenGL. It is feature-packed and fast, and author Simon Danisch has put a ton of energy into its development. I'm very excited for the day that this is cleanly wrapped.

Deprecated backends


A Julia implementation inspired by the "Grammar of Graphics".


  • Clean look
  • Lots of features
  • Flexible when combined with Compose.jl (inset plots, etc)


  • Do not support 3D
  • Slow time-to-first-plot
  • Lots of dependencies
  • No interactivity

Primary author: Daniel C Jones


Built on top of Gadfly, Immerse adds some interactivity and a standalone GUI window, including zoom/pan and a cool "point lasso" tool to save Julia vectors with the selected data points.


  • Same as Gadfly
  • Interactivity
  • Standalone or inline
  • Lasso functionality


  • Same as Gadfly

Primary author: Tim Holy


My package which wraps PyQwt. Similar to PyPlot, it uses PyCall to convert calls to python. Though Qwt.jl was the "first draft" of Plots, the functionality is superceded by other backends, and it's not worth my time to maintain.

Primary author: Thomas Breloff


Unfinished, but very similar to PlotlyJS... use that instead.


Functionality incomplete... I never finished wrapping it, and I don't think it offers anything beyond other backends. However, the plots are clean looking and it's relatively fast.