cdxcore 0.1.33__tar.gz → 0.1.34__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.

Potentially problematic release.


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

Files changed (45) hide show
  1. {cdxcore-0.1.33 → cdxcore-0.1.34}/PKG-INFO +1 -1
  2. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/__init__.py +1 -1
  3. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/dynaplot.py +4 -2
  4. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore.egg-info/PKG-INFO +1 -1
  5. {cdxcore-0.1.33 → cdxcore-0.1.34}/pyproject.toml +1 -1
  6. {cdxcore-0.1.33 → cdxcore-0.1.34}/LICENSE +0 -0
  7. {cdxcore-0.1.33 → cdxcore-0.1.34}/README.md +0 -0
  8. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/config.py +0 -0
  9. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/deferred.py +0 -0
  10. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/dynalimits.py +0 -0
  11. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/err.py +0 -0
  12. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/filelock.py +0 -0
  13. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/jcpool.py +0 -0
  14. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/npio.py +0 -0
  15. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/npshm.py +0 -0
  16. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/pretty.py +0 -0
  17. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/subdir.py +0 -0
  18. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/uniquehash.py +0 -0
  19. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/util.py +0 -0
  20. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/verbose.py +0 -0
  21. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore/version.py +0 -0
  22. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore.egg-info/SOURCES.txt +0 -0
  23. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore.egg-info/dependency_links.txt +0 -0
  24. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore.egg-info/requires.txt +0 -0
  25. {cdxcore-0.1.33 → cdxcore-0.1.34}/cdxcore.egg-info/top_level.txt +0 -0
  26. {cdxcore-0.1.33 → cdxcore-0.1.34}/docs/source/conf.py +0 -0
  27. {cdxcore-0.1.33 → cdxcore-0.1.34}/setup.cfg +0 -0
  28. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_config.py +0 -0
  29. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_deferred.py +0 -0
  30. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_err.py +0 -0
  31. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_jcpool.py +0 -0
  32. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_npio.py +0 -0
  33. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_npshm.py +0 -0
  34. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_pretty.py +0 -0
  35. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_subdir.py +0 -0
  36. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_uniquehash.py +0 -0
  37. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_util.py +0 -0
  38. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_verbose.py +0 -0
  39. {cdxcore-0.1.33 → cdxcore-0.1.34}/tests/test_version.py +0 -0
  40. {cdxcore-0.1.33 → cdxcore-0.1.34}/tmp/filelock.py +0 -0
  41. {cdxcore-0.1.33 → cdxcore-0.1.34}/tmp/np.py +0 -0
  42. {cdxcore-0.1.33 → cdxcore-0.1.34}/tmp/npsh1.py +0 -0
  43. {cdxcore-0.1.33 → cdxcore-0.1.34}/tmp/sharedarray.py +0 -0
  44. {cdxcore-0.1.33 → cdxcore-0.1.34}/up/git_message.py +0 -0
  45. {cdxcore-0.1.33 → cdxcore-0.1.34}/up/pip_modify_setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cdxcore
3
- Version: 0.1.33
3
+ Version: 0.1.34
4
4
  Summary: Basic Python Tools; upgraded cdxbasics
5
5
  Author-email: Hans Buehler <github@buehler.london>
6
6
  License-Expression: MIT
@@ -4,4 +4,4 @@ Created on June 2022
4
4
  @author: hansb
5
5
  """
6
6
 
7
- __version__ = "0.1.33" # auto-updated by setup.py
7
+ __version__ = "0.1.34" # auto-updated by setup.py
@@ -808,7 +808,7 @@ class DynaFig(_DynaDeferred):
808
808
 
809
809
  add_plot = add_subplot
810
810
 
811
- def add_subplots( self, titles : list[str]|int ) -> tuple[DynaAx]:
811
+ def add_subplots( self, *titles ) -> tuple[DynaAx]:
812
812
  """
813
813
  Generate a number of sub-plots in one function call.
814
814
 
@@ -822,7 +822,9 @@ class DynaFig(_DynaDeferred):
822
822
  Sub-plots: tuple
823
823
  A tuple of sub-plots, one for each ``title``.
824
824
  """
825
- if isinstance( titles, int ):
825
+ if len(titles) == 0:
826
+ return ()
827
+ if len(titles) == 1 and isinstance(titles[0], int):
826
828
  return tuple( self.add_subplot() for _ in range(titles) )
827
829
  else:
828
830
  return tuple( self.add_subplot(title) for title in titles )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cdxcore
3
- Version: 0.1.33
3
+ Version: 0.1.34
4
4
  Summary: Basic Python Tools; upgraded cdxbasics
5
5
  Author-email: Hans Buehler <github@buehler.london>
6
6
  License-Expression: MIT
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "cdxcore"
9
- version = "0.1.33"
9
+ version = "0.1.34"
10
10
  description = "Basic Python Tools; upgraded cdxbasics"
11
11
  authors = [{ name = "Hans Buehler", email = "github@buehler.london" }]
12
12
  readme = "README.md"
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
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
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