|
@@ -192,15 +192,15 @@ class BasePlotFrame(wx.Frame):
|
|
|
|
|
|
# x and y axis set to normal (non-log)
|
|
# x and y axis set to normal (non-log)
|
|
self.client.logScale = (False, False)
|
|
self.client.logScale = (False, False)
|
|
- if self.properties['x-axis']['prop']['type']:
|
|
|
|
- self.client.xSpec = self.properties['x-axis']['prop']['type']
|
|
|
|
|
|
+ if self.properties['x-axis']['prop']['type'] == 'custom':
|
|
|
|
+ self.client.xSpec = 'min'
|
|
else:
|
|
else:
|
|
- self.client.xSpec = 'auto'
|
|
|
|
|
|
+ self.client.xSpec = self.properties['x-axis']['prop']['type']
|
|
|
|
|
|
- if self.properties['y-axis']['prop']['type']:
|
|
|
|
- self.client.ySpec = self.properties['y-axis']['prop']['type']
|
|
|
|
|
|
+ if self.properties['y-axis']['prop']['type'] == 'custom':
|
|
|
|
+ self.client.ySpec = 'min'
|
|
else:
|
|
else:
|
|
- self.client.ySpec = 'auto'
|
|
|
|
|
|
+ self.client.ySpec = self.properties['y-axis']['prop']['type']
|
|
|
|
|
|
def InitRasterOpts(self, rasterList, plottype):
|
|
def InitRasterOpts(self, rasterList, plottype):
|
|
"""Initialize or update raster dictionary for plotting
|
|
"""Initialize or update raster dictionary for plotting
|