Skip to content

Commit

Permalink
- upgrades matplotlib to 3.8.1
Browse files Browse the repository at this point in the history
- downgrades modbusport from async to sync
- fixes regression which could lead to wrong temperature mode selection
- improves performance of decay_average()
- aligns background and foreground smoothing during recording (Issue 1279)
  • Loading branch information
MAKOMO committed Nov 3, 2023
1 parent 95a2a37 commit be4736e
Show file tree
Hide file tree
Showing 6 changed files with 236 additions and 288 deletions.
228 changes: 122 additions & 106 deletions src/artisanlib/canvas.py

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/artisanlib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17826,7 +17826,8 @@ def saveAllSettings(self, settings:QSettings, default_settings:Optional[Dict[str
pass

#save mode
settings.setValue('Mode',self.qmc.mode) # 'Mode' is always stored as it is used to discriminate the ViewerSettings (see _settingsCopied)
if not read_defaults:
settings.setValue('Mode',self.qmc.mode) # 'Mode' is always stored as it is used to discriminate the ViewerSettings (see _settingsCopied)

if filename is not None and not read_defaults:
# only add those on exporting settings (those are never read by Artisan)
Expand Down Expand Up @@ -18923,10 +18924,10 @@ def closeApp(self):
flagKeepON = self.qmc.flagKeepON
self.qmc.flagKeepON = False # temporarily turn keepOn off
self.stopActivities()
self.qmc.flagKeepON = flagKeepON
if unsaved_changes:
# in case we have unsaved changes and the user decided to discard those, we first reset to have the correct settings (like axis limits) saved
self.qmc.reset(redraw=False,soundOn=False,sampling=False,keepProperties=False,fireResetAction=False)
self.qmc.flagKeepON = flagKeepON
if QApplication.queryKeyboardModifiers() != Qt.KeyboardModifier.AltModifier:
self.closeEventSettings() # it takes quite some time to write the >1000 setting items
# gc.collect() # this takes quite some time
Expand Down
Loading

0 comments on commit be4736e

Please sign in to comment.