bec-widgets 1.3.1__py3-none-any.whl → 1.3.2__py3-none-any.whl

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.
CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v1.3.2 (2024-11-05)
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix(plot_base): legend text color is changed when changing dark-light theme ([`2304c9f`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/2304c9f8497c1ab1492f3e6690bb79b0464c0df8))
9
+
10
+ ### Build System
11
+
12
+ * build: PySide6 version fixed 6.7.2 ([`c6e48ec`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c6e48ec1fe5aaee6a7c7a6f930f1520cd439cdb2))
13
+
14
+
4
15
  ## v1.3.1 (2024-10-31)
5
16
 
6
17
  ### Bug Fixes
@@ -147,10 +158,6 @@ if the widget should expand in-place ([`e4121a0`](https://gitlab.psi.ch/bec/bec_
147
158
 
148
159
  ## v0.116.0 (2024-10-11)
149
160
 
150
- ### Build System
151
-
152
- * build: fix PySide6 to 6.7.2 ([`908dbc1`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/908dbc1760da5b323722207163f00850b84fb90b))
153
-
154
161
  ### Features
155
162
 
156
163
  * feat: UI changes to have top toolbar with compact popup widgets (fix issue #360) ([`499b6b9`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/499b6b9a12efd931b5728b519404c41a7e29e4d6))
@@ -163,10 +170,3 @@ Makes it easy to write widgets which can have a compact
163
170
  representation with LED-like global state indicator,
164
171
  with the possibility to display a popup dialog with more
165
172
  complete UI ([`49268e3`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/49268e3829406d70b09e4d88989812f5578e46f4))
166
-
167
-
168
- ## v0.115.0 (2024-10-08)
169
-
170
- ### Bug Fixes
171
-
172
- * fix: make Alignment1D a MainWindow as it is an application ([`c5e9ed6`](https://gitlab.psi.ch/bec/bec_widgets/-/commit/c5e9ed6e422acb908e1ada32822f5d7cc256ade7))
PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -32,4 +32,4 @@ Provides-Extra: pyqt6
32
32
  Requires-Dist: pyqt6-webengine>=6.7; extra == 'pyqt6'
33
33
  Requires-Dist: pyqt6>=6.7; extra == 'pyqt6'
34
34
  Provides-Extra: pyside6
35
- Requires-Dist: pyside6~=6.7.2; extra == 'pyside6'
35
+ Requires-Dist: pyside6==6.7.2; extra == 'pyside6'
@@ -147,6 +147,9 @@ class BECPlotBase(BECConnector, pg.GraphicsLayout):
147
147
  for axis in ["left", "bottom", "right", "top"]:
148
148
  self.plot_item.getAxis(axis).setPen(text_pen)
149
149
  self.plot_item.getAxis(axis).setTextPen(text_pen)
150
+ if self.plot_item.legend is not None:
151
+ for sample, label in self.plot_item.legend.items:
152
+ label.setText(label.text, color=palette.text().color())
150
153
 
151
154
  def set(self, **kwargs) -> None:
152
155
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: bec_widgets
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: BEC Widgets
5
5
  Project-URL: Bug Tracker, https://gitlab.psi.ch/bec/bec_widgets/issues
6
6
  Project-URL: Homepage, https://gitlab.psi.ch/bec/bec_widgets
@@ -32,4 +32,4 @@ Provides-Extra: pyqt6
32
32
  Requires-Dist: pyqt6-webengine>=6.7; extra == 'pyqt6'
33
33
  Requires-Dist: pyqt6>=6.7; extra == 'pyqt6'
34
34
  Provides-Extra: pyside6
35
- Requires-Dist: pyside6~=6.7.2; extra == 'pyside6'
35
+ Requires-Dist: pyside6==6.7.2; extra == 'pyside6'
@@ -2,11 +2,11 @@
2
2
  .gitlab-ci.yml,sha256=Dc1iDjsc72UxdUtihx4uSZU0lrTQeR8hZwGx1MQBfKE,8432
3
3
  .pylintrc,sha256=eeY8YwSI74oFfq6IYIbCqnx3Vk8ZncKaatv96n_Y8Rs,18544
4
4
  .readthedocs.yaml,sha256=aSOc277LqXcsTI6lgvm_JY80lMlr69GbPKgivua2cS0,603
5
- CHANGELOG.md,sha256=A0GM9Fa5jYkqKeEcw5IAZ81RgMpNy2293E5E2JQgfZY,7469
5
+ CHANGELOG.md,sha256=eLw8b_ebKK_NJE_kf_dBxZtOIsGvxhwmk30skB2de_A,7491
6
6
  LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
7
- PKG-INFO,sha256=eXtOE9B-l0s9uksPdM43GA1jzVY7LLSPCyB9IkoaZ2Q,1332
7
+ PKG-INFO,sha256=kKcrKwC7zot8zkahi-SB4b5u_JomhLVJ0aZ42lircLk,1332
8
8
  README.md,sha256=Od69x-RS85Hph0-WwWACwal4yUd67XkEn4APEfHhHFw,2649
9
- pyproject.toml,sha256=ktS8Ms0WgS8GzDEpQU5mJOWMFduMmKogyAmmoE5XK-E,2592
9
+ pyproject.toml,sha256=bKOeKQ9n3a9s7wYvZF50bZ2ivsQ9ccZToxryADl4vM4,2592
10
10
  .git_hooks/pre-commit,sha256=n3RofIZHJl8zfJJIUomcMyYGFi_rwq4CC19z0snz3FI,286
11
11
  .gitlab/issue_templates/bug_report_template.md,sha256=gAuyEwl7XlnebBrkiJ9AqffSNOywmr8vygUFWKTuQeI,386
12
12
  .gitlab/issue_templates/documentation_update_template.md,sha256=FHLdb3TS_D9aL4CYZCjyXSulbaW5mrN2CmwTaeLPbNw,860
@@ -174,7 +174,7 @@ bec_widgets/widgets/figure/figure.py,sha256=dHH27Fwr9dFBx4g6CXfDQr09LVAUi7xghxuk
174
174
  bec_widgets/widgets/figure/plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
175
175
  bec_widgets/widgets/figure/plots/axis_settings.py,sha256=grgrX4t4eAzccW4jj4HYtMSxy8Wgcd9N9J1aU7UHtIs,3723
176
176
  bec_widgets/widgets/figure/plots/axis_settings.ui,sha256=ye-guaRU_jhu7sHZS-9AjBjLrCtA1msOD0dszu4o9x8,11785
177
- bec_widgets/widgets/figure/plots/plot_base.py,sha256=7c1HQaGwxsN2vQOFuF5Z68Gp-hbeHOI04C4wvWQs89w,18180
177
+ bec_widgets/widgets/figure/plots/plot_base.py,sha256=ucpyhP_jNt37gghv1VTydBkzJaUlILvwfHFUapfN4v8,18360
178
178
  bec_widgets/widgets/figure/plots/image/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
179
179
  bec_widgets/widgets/figure/plots/image/image.py,sha256=tTtBoAA5CRhSEMae0k8dElM-MznnhcgTg0flXIIduq0,28052
180
180
  bec_widgets/widgets/figure/plots/image/image_item.py,sha256=TwHo6FwCiQgJBdr-KKy_7Y_vYSB0pPjBl1AubuZSrE0,11002
@@ -290,8 +290,8 @@ bec_widgets/widgets/website/register_website_widget.py,sha256=LIQJpV9uqcBiPR9cEA
290
290
  bec_widgets/widgets/website/website.py,sha256=42pncCc_zI2eqeMArIurVmPUukRo5bTxa2h1Skah-io,3012
291
291
  bec_widgets/widgets/website/website_widget.pyproject,sha256=scOiV3cV1_BjbzpPzy2N8rIJL5P2qIZz8ObTJ-Uvdtg,25
292
292
  bec_widgets/widgets/website/website_widget_plugin.py,sha256=pz38_C2cZ0yvPPS02wdIPcmhFo_yiwUhflsASocAPQQ,1341
293
- bec_widgets-1.3.1.dist-info/METADATA,sha256=eXtOE9B-l0s9uksPdM43GA1jzVY7LLSPCyB9IkoaZ2Q,1332
294
- bec_widgets-1.3.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
295
- bec_widgets-1.3.1.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
296
- bec_widgets-1.3.1.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
297
- bec_widgets-1.3.1.dist-info/RECORD,,
293
+ bec_widgets-1.3.2.dist-info/METADATA,sha256=kKcrKwC7zot8zkahi-SB4b5u_JomhLVJ0aZ42lircLk,1332
294
+ bec_widgets-1.3.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
295
+ bec_widgets-1.3.2.dist-info/entry_points.txt,sha256=dItMzmwA1wizJ1Itx15qnfJ0ZzKVYFLVJ1voxT7K7D4,214
296
+ bec_widgets-1.3.2.dist-info/licenses/LICENSE,sha256=YRKe85CBRyP7UpEAWwU8_qSIyuy5-l_9C-HKg5Qm8MQ,1511
297
+ bec_widgets-1.3.2.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_widgets"
7
- version = "1.3.1"
7
+ version = "1.3.2"
8
8
  description = "BEC Widgets"
9
9
  requires-python = ">=3.10"
10
10
  classifiers = [
@@ -38,7 +38,7 @@ dev = [
38
38
  "pytest~=8.0",
39
39
  ]
40
40
  pyqt6 = ["PyQt6>=6.7", "PyQt6-WebEngine>=6.7"]
41
- pyside6 = ["PySide6~=6.7.2"]
41
+ pyside6 = ["PySide6==6.7.2"]
42
42
 
43
43
  [project.urls]
44
44
  "Bug Tracker" = "https://gitlab.psi.ch/bec/bec_widgets/issues"