pvplot 1.6.2__tar.gz → 1.6.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pvplot
3
- Version: 1.6.2
3
+ Version: 1.6.3
4
4
  Summary: Plotting tool for EPICS PVs, ADO and LITE parameters
5
5
  Project-URL: Homepage, https://github.com/ASukhanov/pvplot
6
6
  Project-URL: Bug Tracker, https://github.com/ASukhanov/pvplot/issues
@@ -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.2 2025-03-01'# Corrected for use with multiple namespaces
4
+ __version__ = 'v1.6.3 2025-09-03'# avoid exception on setDefaultPadding
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
- self.setDefaultPadding(0.)# standard is 0.02
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pvplot"
7
- version = "1.6.2"
7
+ version = "1.6.3"
8
8
  authors = [
9
9
  { name="Andrei Sukhanov", email="cyxandr@gmail.com" },
10
10
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes