pvplot 1.6.2__tar.gz → 1.6.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pvplot-1.6.2 → pvplot-1.6.4}/PKG-INFO +1 -1
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/pvplot.py +10 -6
- {pvplot-1.6.2 → pvplot-1.6.4}/pyproject.toml +1 -1
- pvplot-1.6.2/fallback/pvplot.py +0 -1196
- pvplot-1.6.2/p2plantaccess/__init__.py +0 -2
- pvplot-1.6.2/p2plantaccess/ipc.py +0 -133
- pvplot-1.6.2/p2plantaccess/p2plantaccess.py +0 -194
- pvplot-1.6.2/p2plantaccess/simulatedADCs.py +0 -206
- pvplot-1.6.2/pvplot/pvplot-123a.py +0 -1076
- {pvplot-1.6.2 → pvplot-1.6.4}/LICENSE +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/README.md +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/config/peakSimulator_pvp.py +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/docs/peakSimulator_pvp.png +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/docs/pvplotx.jpg +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/__init__.py +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/__main__.py +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/cad_epics.py +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/cad_pvaccess.py +0 -0
- {pvplot-1.6.2 → pvplot-1.6.4}/pvplot/helptxt.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
"""Plotting package for EPICS PVs (CA and PVA), LITE and ADO parameters.
|
|
3
3
|
"""
|
|
4
|
-
__version__ = 'v1.6.
|
|
4
|
+
__version__ = 'v1.6.4 2025-09-23'# fixing for: pvplot -a'L:localhost:dev1:' -#0'yMin yMax'
|
|
5
5
|
#TODO: if backend times out the gui is not responsive
|
|
6
6
|
#TODO: move Add Dataset to Dataset options
|
|
7
7
|
#TODO: add dataset arithmetics
|
|
@@ -687,8 +687,10 @@ class CustomViewBox(pg.ViewBox):
|
|
|
687
687
|
|
|
688
688
|
# call the init method of the parent class
|
|
689
689
|
super(CustomViewBox, self).__init__()
|
|
690
|
-
|
|
691
|
-
|
|
690
|
+
try:
|
|
691
|
+
self.setDefaultPadding(0.)# standard is 0.02
|
|
692
|
+
except:
|
|
693
|
+
printw('Old pyqtgraph? setDefaultPadding is not defined')
|
|
692
694
|
# IMPORTANT: menu creation is deferred because it is expensive
|
|
693
695
|
# and often the user will never see the menu anyway.
|
|
694
696
|
self.menu = None
|
|
@@ -1006,7 +1008,7 @@ def add_curves(dockNum:int, curveMap:str):
|
|
|
1006
1008
|
#docks = [x.split('.')[0] for x in curves]
|
|
1007
1009
|
curves = MapOfDatasets.dtsDict.keys()
|
|
1008
1010
|
docks = PVPlot.mapOfDocks.keys()
|
|
1009
|
-
printv(f'>
|
|
1011
|
+
printv(f'>add_curves {curveMap} to {curves,docks}')
|
|
1010
1012
|
if dockNum not in docks:
|
|
1011
1013
|
printv(f'adding new dock{type(dockNum),dockNum}')
|
|
1012
1014
|
PVPlot.mapOfDocks[dockNum] = dockarea.Dock(str(dockNum),
|
|
@@ -1132,8 +1134,10 @@ class PVPlot():
|
|
|
1132
1134
|
if pargs.dock:
|
|
1133
1135
|
for par in pargs.dock:
|
|
1134
1136
|
dockNum = par[0][0]
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
+
pars = par[0][1:].lstrip()
|
|
1138
|
+
for parName in pars.split():
|
|
1139
|
+
add_curves(int(dockNum), {parName:
|
|
1140
|
+
pargs.prefix+parName})
|
|
1137
1141
|
else:
|
|
1138
1142
|
# plots for the main dock
|
|
1139
1143
|
if not ',' in pargs.parms:
|