Skip to content
Snippets Groups Projects

Correct clicking data point for info

Merged Lan Dam requested to merge i134_mass_pos_not_show_datapoint_info into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -380,6 +380,7 @@ class Plotting:
ax.myPlot = ax.plot(x, y,
linestyle='-', linewidth=0.7,
color=self.parent.display_color['sub_basic'],
picker=True, pickradius=3,
zorder=constants.Z_ORDER['LINE'])[0]
colors = [None] * len(y)
sizes = [1.5] * len(y)
@@ -397,7 +398,6 @@ class Plotting:
prev_v = v
count += 1
ax.scatter(x, y, marker='s', c=colors, s=sizes,
picker=True, pickradius=15,
zorder=constants.Z_ORDER['DOT'],)
ax.x_list = x_list
ax.y_list = y_list
Loading