Skip to content

Commit

Permalink
fix source usage
Browse files Browse the repository at this point in the history
- adapt requirements.txt to use compatible matplotlib version
- typecast RowCount to int() to be able to plot more than one curve
  • Loading branch information
dmehlem authored and JensAc committed Oct 15, 2023
1 parent 06ac680 commit 21939d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/rdplot/Widgets/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def change_table_summary(self, plot_data_collect):
self.change_table_temporal(plot_data_collection)
return

self.tableWidget.setRowCount(len(plot_data_collection)/len(config))
self.tableWidget.setRowCount(int(len(plot_data_collection)/len(config)))

for plot_data in plot_data_collection:

Expand Down
5 changes: 2 additions & 3 deletions src/rdplot/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
cycler
matplotlib
matplotlib<3.8.0 #tikzplotlib not compatible with matplotlib 3.8.0 due to removed method as of 23/10/15
numpy
py
pyparsing
PyQt5<5.11
PyQt5
pytest
python-dateutil
pytz
sip
six
scipy
tabulate
Expand Down

0 comments on commit 21939d1

Please sign in to comment.