replot legend if set is hidden
This commit is contained in:
parent
9815c0df40
commit
555831380d
@ -304,6 +304,8 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow):
|
|||||||
if item in self.graphic.items():
|
if item in self.graphic.items():
|
||||||
self.graphic.removeItem(item)
|
self.graphic.removeItem(item)
|
||||||
|
|
||||||
|
self.show_legend()
|
||||||
|
|
||||||
@QtCore.pyqtSlot(bool, name='on_imag_button_toggled')
|
@QtCore.pyqtSlot(bool, name='on_imag_button_toggled')
|
||||||
@QtCore.pyqtSlot(bool, name='on_real_button_toggled')
|
@QtCore.pyqtSlot(bool, name='on_real_button_toggled')
|
||||||
def set_imag_visible(self, visible: bool):
|
def set_imag_visible(self, visible: bool):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user