mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
LC: Update plot with PmahyrPlot new features.
This commit is contained in:
1 parent
065e1f063f
commit
2111307965
5 files changed
+42
-77
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user