Skip to content
Snippets Groups Projects
Commit 22fade31 authored by Lan Dam's avatar Lan Dam
Browse files

fix position of plots' labels

parent adab5391
No related branches found
No related tags found
1 merge request!136tps scrollbar, label's position, color, height for each
Pipeline #2649 passed with stage
in 3 minutes and 51 seconds
...@@ -226,8 +226,8 @@ class TimePowerSquaredWidget(plotting_widget.PlottingWidget): ...@@ -226,8 +226,8 @@ class TimePowerSquaredWidget(plotting_widget.PlottingWidget):
ax = self.create_axes(self.plotting_bot, plot_h) ax = self.create_axes(self.plotting_bot, plot_h)
ax.spines[['right', 'left', 'top', 'bottom']].set_visible(False) ax.spines[['right', 'left', 'top', 'bottom']].set_visible(False)
ax.text( ax.text(
-0.1, 1.2, -0.12, 1,
f"{get_chan_label(chan_id)} {c_data['samplerate']}", f"{get_chan_label(chan_id)} {c_data['samplerate']}sps",
horizontalalignment='left', horizontalalignment='left',
verticalalignment='top', verticalalignment='top',
rotation='horizontal', rotation='horizontal',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment