Changeset 52e0f2d in sasview for plottools/src/danse
- Timestamp:
- Jan 24, 2012 4:50:26 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:
- d2843a9
- Parents:
- 0b705915
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plottools/src/danse/common/plottools/PlotPanel.py
r053f983 r52e0f2d 22 22 from matplotlib.font_manager import FontProperties 23 23 24 try: 25 from mpl_toolkits.mplot3d import Axes3D 26 except: 27 logging.error("PlotPanel could not import Axes3D") 24 from mpl_toolkits.mplot3d import Axes3D 28 25 #from matplotlib import cm 29 26 #from matplotlib.ticker import LinearLocator, FixedLocator, FormatStrFormatter … … 138 135 #self.SetBackgroundColour(parent.GetBackgroundColour()) 139 136 self._resizeflag = True 140 self._Set InitialSize()137 self._SetSize() 141 138 self.subplot = self.figure.add_subplot(111) 142 139 self.figure.subplots_adjust(left=0.2, bottom=.2) … … 1428 1425 cmap=self.cmap, zmin=zmin_2D_temp, 1429 1426 zmax=zmax_2D_temp) 1430 self.figure.canvas.draw_idle()1431 1427 1432 1428 def image(self, data, qx_data, qy_data, xmin, xmax, ymin, ymax, … … 1526 1522 cb.update_bruteforce(im) 1527 1523 cb.set_label('$' + self.scale + '$') 1524 self.figure.canvas.draw_idle() 1528 1525 1529 1526 def _build_matrix(self):
Note: See TracChangeset
for help on using the changeset viewer.