MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / log_linear_plot

Method log_linear_plot

pyxrf/model/lineplot.py:445–458  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

443 self._update_canvas()
444
445 def log_linear_plot(self):
446 if self.plot_type_names[self.scale_opt] == "LinLog":
447 self._ax.set_yscale("log")
448 # self._ax.margins(x=0.0, y=0.5)
449 # self._ax.autoscale_view(tight=True)
450 # self._ax.relim(visible_only=True)
451 self._ax.set_ylim(self.log_range)
452
453 else:
454 self._ax.set_yscale("linear")
455 # self._ax.margins(x=0.0, y=0.10)
456 # self._ax.autoscale_view(tight=True)
457 # self._ax.relim(visible_only=True)
458 self._ax.set_ylim(self.linear_range)
459
460 def exp_data_update(self, change):
461 """

Callers 3

_new_optMethod · 0.95
exp_data_updateMethod · 0.95
plot_multi_exp_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected