Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/codecov/codecov-ac…
Browse files Browse the repository at this point in the history
…tion-3.1.4
  • Loading branch information
CagtayFabry authored Sep 15, 2023
2 parents fa26eab + 6bb6a58 commit 4d79810
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
py: ['3.8', '3.9']
py: ['3.9', '3.10', '3.11']
weldx_version: ['weldx']
include:
- os: ubuntu-latest
py: 3.8
py: '3.10'
weldx_version: 'git+https://github.com/BAMWelDX/weldx.git'
env:
WELDX_VERSION: ${{ matrix.weldx_version }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ repos:
exclude: devtools/conda.recipe/meta.yaml # doesn't play nice with jinja
# - id: no-commit-to-branch # only makes sense for local pre-commit hooks
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/pydocstyle
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ classifiers =
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Physics
project_urls =
Documentation = https://weldx.readthedocs.io
Expand All @@ -32,7 +33,7 @@ project_urls =

[options]
packages = find:
python_requires = >=3.8
python_requires = >=3.9
setup_requires =
setuptools >=38.3.0
setuptools_scm
Expand Down
3 changes: 2 additions & 1 deletion weldx_widgets/widget_groove_sel.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ def _update_plot(self, *args):
self.groove_obj = groove_obj

# TODO: re-plot can be avoided (e.g. set_xydata?)
self.ax.lines.clear()
if self.ax.lines:
self.ax.lines.clear()
# self.ax.texts = []

self.groove_obj.plot(line_style="-", ax=self.ax)
Expand Down

0 comments on commit 4d79810

Please sign in to comment.