Skip to content

Commit d9450e4

Browse files
committed
Merge branch 'master' into fork/AndreaDuina/monitr-right-window-sorting
# Conflicts: # plottr/apps/monitr.py
2 parents 1d85077 + 3d38e7a commit d9450e4

52 files changed

Lines changed: 136 additions & 169 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/python-app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.12", "3.13"]
1717
env:
1818
DISPLAY: ':99.0'
1919

@@ -22,9 +22,9 @@ jobs:
2222
run: |
2323
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
2424
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v6
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v5.3.0
27+
uses: actions/setup-python@v6.2.0
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- uses: ./.github/actions/install-dependencies-and-plottr

.github/workflows/python-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Set up Python
16-
uses: actions/setup-python@v5.3.0
16+
uses: actions/setup-python@v6.2.0
1717
with:
1818
python-version: '3.12'
1919
- uses: ./.github/actions/install-dependencies-and-plottr

doc/examples/Inferring grids.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"\n",
5757
"from plottr.data import datadict as dd\n",
5858
"from plottr.utils import num\n",
59-
"from plottr.utils.num import _find_switches, is_invalid\n",
59+
"from plottr.utils.num import _find_switches\n",
6060
"from plottr.plot.mpl import ppcolormesh_from_meshgrid\n",
6161
"\n",
6262
"\n",

doc/examples/Simple Live plotting example with DDH5.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"outputs": [],
1313
"source": [
1414
"import time\n",
15-
"import os\n",
1615
"import numpy as np\n",
1716
"\n",
1817
"from plottr.data import datadict as dd\n",

doc/examples/node_with_dimension_selector_widget.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
from typing import List, Optional
1111
from pprint import pprint
1212

13-
import numpy as np
1413

15-
from plottr import QtCore, QtWidgets, Signal, Slot
14+
from plottr import QtWidgets
1615
from plottr.data import DataDict
1716
from plottr.node.node import Node, NodeWidget, updateOption, updateGuiQuietly
1817
from plottr.node.tools import linearFlowchart

doc/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sphinx==8.1.3
2-
sphinx-autodoc-typehints>=1.10.3
3-
PyQt5>=5.9.0
1+
sphinx==9.1.0
2+
sphinx-autodoc-typehints>=3.10.2
3+
PyQt5>=5.15.11

plottr/analyzer/base.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
from typing import Tuple, Any, Optional, Union, Dict, List
1+
from typing import Tuple, Any, Union, Dict
22
from collections import OrderedDict
3-
from dataclasses import dataclass
4-
from pathlib import Path
5-
import json
63

74
import numpy as np
8-
from matplotlib import pyplot as plt
9-
import lmfit
105

116

127
class Parameter:

plottr/analyzer/fitters/experiment_functions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
from typing import Tuple, Any, Optional, Union, Dict, List
1+
from typing import Tuple, Any, Union, Dict
22

33
import numpy as np
4-
import lmfit
5-
from plottr.analyzer.fitters.fitter_base import Fit, FitResult
4+
from plottr.analyzer.fitters.fitter_base import Fit
65

76

87
class T1_Decay(Fit):

plottr/analyzer/fitters/generic_functions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
from typing import Tuple, Any, Optional, Union, Dict, List
1+
from typing import Tuple, Union, Dict
22

33
import numpy as np
4-
import lmfit
54

6-
from plottr.analyzer.fitters.fitter_base import Fit, FitResult
5+
from plottr.analyzer.fitters.fitter_base import Fit
76

87

98
class Cosine(Fit):

plottr/apps/appmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from typing import Dict, Union, Any, Callable, Tuple, Optional
2020

2121
from traceback import print_exception
22-
from plottr import QtCore, QtWidgets, QtGui, Flowchart, Signal, Slot, log, qtapp, qtsleep, plottrPath
22+
from plottr import QtCore, QtWidgets, QtGui, Flowchart, Signal, Slot, log, qtsleep, plottrPath
2323
from plottr.gui.widgets import PlotWindow
2424

2525

0 commit comments

Comments
 (0)