Skip to content

Instantly share code, notes, and snippets.

@kdheepak
Created September 2, 2016 15:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdheepak/84fbc1bf36adedaadb1e3446ca8a93cb to your computer and use it in GitHub Desktop.
Save kdheepak/84fbc1bf36adedaadb1e3446ca8a93cb to your computer and use it in GitHub Desktop.
Thread Safe Matplotlib
from matplotlib.figure import Figure
fig = Figure(figsize = (3, 3))
canvas = FigureCanvas(fig)
ax = fig.add_subplot(111)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment