Skip to content

Commit

Permalink
FIX: Only show axes that are already being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
aksharsarvesh committed Aug 5, 2024
1 parent 488d5b7 commit a9b1668
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydm/widgets/axis_table_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def set_data(self, column_name, axis, value):
else:
axis.orientation = str(value)
self.plot.plotItem.rebuildLayout()
axis.show()
if axis.isVisible():
axis.show()
elif column_name == "Y-Axis Label":
axis.label_text = str(value)
elif column_name == "Min Y Range":
Expand Down

0 comments on commit a9b1668

Please sign in to comment.