def updateGenomicPlotAxes(self, resize=False):
if self.genomicPlotAxes is None: return
if resize:
self.divider = None
if self.divider is None:
self.divider = make_axes_locatable(self.ax)
if resize:
for obj in self.genomicPlotAxes:
ax = self.divider.append_axes(obj.plotLocation, size=0.6, pad=self.verticalSpace, sharex=self.ax)
obj.updatePlot(ax)
else:
ax = self.divider.append_axes(self.genomicPlotAxes[-1].plotLocation, size=0.6, pad=self.verticalSpace, sharex=self.ax)
self.genomicPlotAxes[-1].updatePlot(ax)
for obj in self.genomicPlotAxes:
if self.lowerMostGenomicPlotAxes != obj.index:
obj.axes_props.xLabel['Show Label'] = 'none'
obj.axes_props.xTickLabel['Label Position'] = 'none'
obj.axes_props.set_to_axes()
评论列表
文章目录