Skip to content

Commit

Permalink
Update guidata dependency to version 3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Aug 6, 2024
1 parent 5a84cde commit e006df7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions plotpy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,7 @@ def set_plotpy_dark_mode(state: bool) -> None:
f"version. Use `set_plotpy_color_mode('{mode}')` instead.",
DeprecationWarning,
)
qth.set_dark_mode(state) # guidata 3.6.0
update_plotpy_color_mode()
set_plotpy_color_mode(mode)


def set_plotpy_color_mode(mode: Literal["light", "dark", "auto"] | None = None):
Expand All @@ -816,5 +815,5 @@ def set_plotpy_color_mode(mode: Literal["light", "dark", "auto"] | None = None):
mode: Color mode ('light', 'dark' or 'auto'). If 'auto', the system color mode
is used. If None, the `QT_COLOR_MODE` environment variable is used.
"""
qth.set_color_mode(mode) # guidata >= 3.6.1
qth.set_color_mode(mode)
update_plotpy_color_mode()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ classifiers = [
]
requires-python = ">=3.8, <4"
dependencies = [
"guidata>=3.6.1",
"guidata>=3.6.2",
"PythonQwt>=0.12.1",
"NumPy>=1.17",
"SciPy>=1.3",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tifffile
PyQt5
PythonQwt>=0.12.1
SciPy>=1.3
guidata>=3.6.1
guidata>=3.6.2
pylint
ruff
pytest
Expand Down

0 comments on commit e006df7

Please sign in to comment.