- Timestamp:
- Feb 13, 2012 8:43:16 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:
- 80f56a3
- Parents:
- d4184e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
rd4184e0 rbef2377 37 37 import copy 38 38 import numpy 39 40 PLOT_3D_ON = False41 try:42 from mpl_toolkits.mplot3d.axes3d import Axes3D43 PLOT_3D_ON = True44 except:45 pass46 39 47 40 def show_tree(obj,d=0): … … 1515 1508 ax.disable_mouse_rotation() 1516 1509 except: 1517 # mpl < 1.0.0 1518 if PLOT_3D_ON: 1510 try: 1511 # mpl < 1.0.0 1512 from mpl_toolkits.mplot3d import Axes3D 1519 1513 #Todo: Find out why another clear need here 1520 1514 self.subplot.figure.clear() … … 1523 1517 ax.cla() 1524 1518 cbax = None 1525 e lse:1519 except: 1526 1520 raise 1527 1521
Note: See TracChangeset
for help on using the changeset viewer.