Advertisement
chironex

Untitled

Mar 25th, 2011
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. global pyPlotLoaded
  2. pyPlotLoaded = True
  3. try:
  4.     import matplotlib.pyplot as plt
  5. except ImportError:
  6.     print("Importing PyPlot has failed.")
  7.     global pyPlotLoaded
  8.     pyPlotLoaded = False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement