LC: Update plot with PmahyrPlot new features.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-02-16 10:18:29 +01:00
1 parent 065e1f063f
commit 2111307965
5 files changed
+42 -77

No files matched your search

+2 -3
View File
@@ -27,8 +27,6 @@ from PyQt5.QtCore import (
QCoreApplication
)
from View.BoundaryCondition.Edit.translate import BCETranslate
_translate = QCoreApplication.translate
logger = logging.getLogger()
@@ -55,6 +53,8 @@ class Plot(PamhyrPlot):
self._mode = mode
self._isometric_axis = False
self._auto_relim_update = True
self._autoscale_update = True
def custom_ticks(self):
if self.data.header[0] != "time":
@@ -94,7 +94,6 @@ class Plot(PamhyrPlot):
return
self.update_data()
self.custom_ticks()
self.update_idle()