- Timestamp:
- Feb 11, 2012 3:16:42 PM (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:
- bef2377
- Parents:
- 7cb14d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
rdcb0834 rd4184e0 40 40 PLOT_3D_ON = False 41 41 try: 42 from mpl_toolkits.mplot3d import Axes3D42 from mpl_toolkits.mplot3d.axes3d import Axes3D 43 43 PLOT_3D_ON = True 44 44 except: … … 1512 1512 cbax = fig.add_axes([0.84,0.1,0.02,0.8]) 1513 1513 ax = fig.gca(projection='3d') 1514 #ax.disable_mouse_rotation()1515 1514 if len(X) > 60: 1516 1515 ax.disable_mouse_rotation() … … 1518 1517 # mpl < 1.0.0 1519 1518 if PLOT_3D_ON: 1519 #Todo: Find out why another clear need here 1520 self.subplot.figure.clear() 1520 1521 ax = Axes3D(self.subplot.figure) 1521 1522 if len(X) > 60: … … 1532 1533 1533 1534 if cbax == None: 1534 cb =self.subplot.figure.colorbar(im, shrink=0.6, aspect=20) 1535 ax.set_frame_on(False) 1536 cb =self.subplot.figure.colorbar(im, shrink=0.8, aspect=20) 1535 1537 else: 1536 1538 cb =self.subplot.figure.colorbar(im, cax=cbax)
Note: See TracChangeset
for help on using the changeset viewer.