Changeset 001b930 in sasview
- Timestamp:
- Dec 6, 2011 10:58:42 AM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cb8a972
- Parents:
- b7cfa8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
r82a54b8 r001b930 6 6 # Try a normal import first 7 7 # If it fails, try specifying a version 8 try: 9 import matplotlib 10 # Check version 11 toks = matplotlib.__version__.split('.') 12 if len(toks) < 3 or int(toks[1]) < 98: 13 raise RuntimeError, "PlotPanel depends on matplotlib > 0.98" 14 except: 15 logging.warning("Could not load matplotlib: trying setuptools") 16 import pkg_resources 17 pkg_resources.require("matplotlib>=0.98.1") 18 import matplotlib 19 8 import matplotlib 20 9 matplotlib.interactive(False) 21 10 #Use the WxAgg back end. The Wx one takes too long to render
Note: See TracChangeset
for help on using the changeset viewer.