Skip to content

Commit

Permalink
Bump version to 0.3.22 (#718)
Browse files Browse the repository at this point in the history
* Set background color for plots in GUI
* Remove uv.lock
* Remove pyproject.toml
* Fix wheel prefix
  • Loading branch information
t-sommer authored Dec 2, 2024
1 parent 4166f08 commit dcff3e7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 670 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ jobs:
python-version: '3.10'
- if: matrix.name == 'linux' || matrix.name == 'darwin'
run: |
for f in fmpy-*.whl; do
for f in FMPy-*.whl; do
python -m pip install $f[complete]
done
- if: matrix.name == 'windows'
run: |
$files = Get-ChildItem "fmpy-*.whl"
$files = Get-ChildItem "FMPy-*.whl"
foreach ($f in $files) {
$name = $f.FullName + "[complete]"
python -m pip install $name
Expand Down
2 changes: 1 addition & 1 deletion fmpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ctypes import *
from typing import Union, IO, List

__version__ = '0.3.21'
__version__ = '0.3.22'

# library to use in plot_result()
plot_library = 'plotly' # or 'matplotlib'
Expand Down
4 changes: 2 additions & 2 deletions fmpy/gui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,10 +872,10 @@ def updatePlotLayout(self):
color_scheme = QGuiApplication.styleHints().colorScheme()

if color_scheme == Qt.ColorScheme.Dark:
self.ui.plotWidget.setBackground(None)
self.ui.plotWidget.setBackground('#1e1e1e')
pg.setConfigOptions(foreground='w')
else:
self.ui.plotWidget.setBackground('w')
self.ui.plotWidget.setBackground('#fbfbfb')
pg.setConfigOptions(foreground='k')

self.curves[:] = []
Expand Down
33 changes: 0 additions & 33 deletions pyproject.toml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))

setup(name='FMPy',
version='0.3.21',
version='0.3.22',
description="Simulate Functional Mock-up Units (FMUs) in Python",
long_description=long_description,
author="Torsten Sommer",
Expand Down
Loading

0 comments on commit dcff3e7

Please sign in to comment.