Skip to content

Commit e006df7

Browse files
committed
Update guidata dependency to version 3.6.2
1 parent 5a84cde commit e006df7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

plotpy/config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,7 @@ def set_plotpy_dark_mode(state: bool) -> None:
805805
f"version. Use `set_plotpy_color_mode('{mode}')` instead.",
806806
DeprecationWarning,
807807
)
808-
qth.set_dark_mode(state) # guidata 3.6.0
809-
update_plotpy_color_mode()
808+
set_plotpy_color_mode(mode)
810809

811810

812811
def set_plotpy_color_mode(mode: Literal["light", "dark", "auto"] | None = None):
@@ -816,5 +815,5 @@ def set_plotpy_color_mode(mode: Literal["light", "dark", "auto"] | None = None):
816815
mode: Color mode ('light', 'dark' or 'auto'). If 'auto', the system color mode
817816
is used. If None, the `QT_COLOR_MODE` environment variable is used.
818817
"""
819-
qth.set_color_mode(mode) # guidata >= 3.6.1
818+
qth.set_color_mode(mode)
820819
update_plotpy_color_mode()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ classifiers = [
4444
]
4545
requires-python = ">=3.8, <4"
4646
dependencies = [
47-
"guidata>=3.6.1",
47+
"guidata>=3.6.2",
4848
"PythonQwt>=0.12.1",
4949
"NumPy>=1.17",
5050
"SciPy>=1.3",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tifffile
77
PyQt5
88
PythonQwt>=0.12.1
99
SciPy>=1.3
10-
guidata>=3.6.1
10+
guidata>=3.6.2
1111
pylint
1212
ruff
1313
pytest

0 commit comments

Comments
 (0)