Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • software_public/passoft/sohstationviewer
1 result
Show changes
Commits on Source (2)
......@@ -37,6 +37,7 @@ class Plotting:
self.parent.plotting_bot, plot_h, has_min_max_lines=False)
ax.x = None
ax.plot([0], [0], linestyle="")
ax.chan_db_info = None
return ax
def plot_multi_color_dots(self, c_data, chan_db_info, chan_id,
......@@ -120,6 +121,7 @@ class Plotting:
ax.x = x
else:
ax.linkedX = x
ax.chan_db_info = chan_db_info
return ax
def plot_up_down_dots(self, c_data, chan_db_info, chan_id, ax, linked_ax):
......@@ -184,6 +186,7 @@ class Plotting:
ax.x = x
else:
ax.linkedX = x
ax.chan_db_info = chan_db_info
return ax
def plot_time_dots(self, c_data, chan_db_info, chan_id, ax, linked_ax):
......@@ -226,6 +229,7 @@ class Plotting:
ax.x_list = x_list
else:
ax.linkedX = x_list
ax.chan_db_info = chan_db_info
return ax
def plot_lines_dots(self, c_data, chan_db_info, chan_id,
......@@ -315,6 +319,7 @@ class Plotting:
else:
ax.linkedX = x_list
ax.linkedY = y_list
ax.chan_db_info = chan_db_info
return ax
def plot_lines_s_rate(self, c_data, chan_db_info, chan_id, ax, linked_ax):
......@@ -399,4 +404,5 @@ class Plotting:
zorder=constants.Z_ORDER['DOT'])
ax.x_list = x_list
ax.y_list = y_list
ax.chan_db_info = chan_db_info
return ax
......@@ -604,7 +604,8 @@ class PlottingWidget(QtWidgets.QScrollArea):
pass
if new_min_y is not None:
self.plotting_axes.set_axes_ylim(ax, new_min_y, new_max_y)
self.plotting_axes.set_axes_ylim(
ax, new_min_y, new_max_y, ax.chan_db_info)
def draw(self):
"""
......