mwxlib 1.6.7__py3-none-any.whl → 1.6.8__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.

Potentially problematic release.


This version of mwxlib might be problematic. Click here for more details.

mwx/framework.py CHANGED
@@ -1,7 +1,7 @@
1
1
  #! python3
2
2
  """mwxlib framework.
3
3
  """
4
- __version__ = "1.6.7"
4
+ __version__ = "1.6.8"
5
5
  __author__ = "Kazuya O'moto <komoto@jeol.co.jp>"
6
6
 
7
7
  from contextlib import contextmanager
mwx/graphman.py CHANGED
@@ -88,8 +88,6 @@ class Thread:
88
88
  None : {
89
89
  'thread_begin' : [ None ],
90
90
  'thread_end' : [ None ],
91
- 'thread_quit' : [ None ],
92
- 'thread_error' : [ None ],
93
91
  },
94
92
  })
95
93
 
@@ -183,7 +181,6 @@ class Thread:
183
181
  pass
184
182
  except KeyboardInterrupt as e:
185
183
  print("- Thread terminated by user:", e)
186
- wx.CallAfter(self.handler, 'thread_quit', self)
187
184
  except Exception as e:
188
185
  print("- Thread failed in error:", e)
189
186
  traceback.print_exc()
@@ -192,7 +189,6 @@ class Thread:
192
189
  f"{e}\n\n" + tbstr[-1] + f"{type(e).__name__}: {e}",
193
190
  f"Error in the thread running {f.__name__!r}\n\n",
194
191
  style=wx.ICON_ERROR)
195
- wx.CallAfter(self.handler, 'thread_error', self)
196
192
  finally:
197
193
  self.active = 0
198
194
  wx.CallAfter(self.handler, 'thread_end', self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mwxlib
3
- Version: 1.6.7
3
+ Version: 1.6.8
4
4
  Summary: A wrapper of matplotlib and wxPython (phoenix)
5
5
  Home-page: https://github.com/komoto48g/mwxlib
6
6
  Author: Kazuya O'moto
@@ -1,8 +1,8 @@
1
1
  mwx/__init__.py,sha256=pS7ZG8QKRypiFFiaWAq_opBB6I_1viZ0zUMk2TbjzE0,667
2
2
  mwx/bookshelf.py,sha256=b3LhF0TXFRhbbjg3HUzq4qTk4BLzF713a3Tbh3_0iVI,8455
3
3
  mwx/controls.py,sha256=N_4TAEMGNBD3AiVzm4JZ6SDH8VJ2gFsRPFYF40T6yL0,50006
4
- mwx/framework.py,sha256=N9gTB2Uyi6FvgTVEYi7KLtHifzHajf3nYBK_b_SdQL4,77596
5
- mwx/graphman.py,sha256=7R-vNzu0VJ_u4eT6-7Sel_qA8BZoSfG7p7zbaf-uetA,70591
4
+ mwx/framework.py,sha256=hlvLZxCUXmEtZZEgDOaQ3jUV0NREEa7JAIj-XBbP74U,77596
5
+ mwx/graphman.py,sha256=846j6PgkEiwR5XyljwfOApOi1TQXhR1i9w5ZKqtni_g,70370
6
6
  mwx/images.py,sha256=Kkfy9QI_hMtwShSjUS4-ZpC_EkVuah_XhpBOR4wAKkM,49792
7
7
  mwx/matplot2.py,sha256=HrURlLP-jEubuHrOhL1yvXOgeduHn1OqYnT2bWg4BoM,32995
8
8
  mwx/matplot2g.py,sha256=BzftcjoVx_sFw57osb31jsnIAwJQC8CqexCUC0AY9ZU,66533
@@ -22,7 +22,7 @@ mwx/plugins/frame_listview.py,sha256=yd2NCgspqGfTNhj1wxuW8r1zapIm7vNzVX2iytk8CDM
22
22
  mwx/plugins/line_profile.py,sha256=zzm6_7lnAnNepLbh07ordp3nRWDFQJtu719ZVjrVf8s,819
23
23
  mwx/py/__init__.py,sha256=xykgfOytOwNuvXsfkLoumFZSTN-iBsHOjczYXngjmUE,12
24
24
  mwx/py/filling.py,sha256=vWCJoHd_oyXOeXTHtXGY7wfNQeNAZhV3GZu4xlc8GDY,16867
25
- mwxlib-1.6.7.dist-info/METADATA,sha256=JPmghjPapW6r7Yfk1-naUsmJBlU88iLXxPHe6-ahkpU,7381
26
- mwxlib-1.6.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- mwxlib-1.6.7.dist-info/top_level.txt,sha256=SI1Mh118AstnUFGPNq5aMNKiAnVNmZk1S9Ij-OwAEpY,4
28
- mwxlib-1.6.7.dist-info/RECORD,,
25
+ mwxlib-1.6.8.dist-info/METADATA,sha256=_fz-J7CYEdesk07MwqAaXbF2pYX5YD37bvhZzSOYgBY,7381
26
+ mwxlib-1.6.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ mwxlib-1.6.8.dist-info/top_level.txt,sha256=SI1Mh118AstnUFGPNq5aMNKiAnVNmZk1S9Ij-OwAEpY,4
28
+ mwxlib-1.6.8.dist-info/RECORD,,
File without changes