Skip to content
Snippets Groups Projects

Remove noneed plotting code

Merged Lan Dam requested to merge remove-noneed_plotting_code into master
2 files
+ 5
38
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -117,10 +117,7 @@ class Plotting:
self.plotting_axes.set_axes_info(
ax, [total_samples], sample_no_colors=sample_no_colors,
chan_db_info=chan_db_info, linked_ax=linked_ax)
if linked_ax is None:
ax.x = x
else:
ax.linkedX = x
ax.x = x
ax.chan_db_info = chan_db_info
return ax
@@ -182,10 +179,7 @@ class Plotting:
sample_no_colors=[clr[colors[0]], clr[colors[1]]],
sample_no_pos=[0.25, 0.75],
chan_db_info=chan_db_info, linked_ax=linked_ax)
if linked_ax is None:
ax.x = x
else:
ax.linkedX = x
ax.x = x
ax.chan_db_info = chan_db_info
return ax
@@ -225,10 +219,7 @@ class Plotting:
linestyle='', zorder=constants.Z_ORDER['LINE'],
color=clr[color], picker=True,
pickradius=3)
if linked_ax is None:
ax.x_list = x_list
else:
ax.linkedX = x_list
ax.x_list = x_list
ax.chan_db_info = chan_db_info
return ax
@@ -313,12 +304,8 @@ class Plotting:
mec=clr[d_color],
picker=True, pickradius=3)
if linked_ax is None:
ax.x_list = x_list
ax.y_list = y_list
else:
ax.linkedX = x_list
ax.linkedY = y_list
ax.x_list = x_list
ax.y_list = y_list
ax.chan_db_info = chan_db_info
return ax
Loading