plotastrodata 1.9.15__tar.gz → 1.9.16__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.
Files changed (25) hide show
  1. {plotastrodata-1.9.15/plotastrodata.egg-info → plotastrodata-1.9.16}/PKG-INFO +1 -1
  2. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/__init__.py +1 -1
  3. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/plot_utils.py +13 -0
  4. {plotastrodata-1.9.15 → plotastrodata-1.9.16/plotastrodata.egg-info}/PKG-INFO +1 -1
  5. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/LICENSE +0 -0
  6. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/MANIFEST.in +0 -0
  7. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/README.md +0 -0
  8. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/analysis_utils.py +0 -0
  9. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/const_utils.py +0 -0
  10. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/coord_utils.py +0 -0
  11. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/ext_utils.py +0 -0
  12. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/fft_utils.py +0 -0
  13. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/fits_utils.py +0 -0
  14. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/fitting_utils.py +0 -0
  15. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/los_utils.py +0 -0
  16. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/matrix_utils.py +0 -0
  17. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/noise_utils.py +0 -0
  18. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata/other_utils.py +0 -0
  19. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata.egg-info/SOURCES.txt +0 -0
  20. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata.egg-info/dependency_links.txt +0 -0
  21. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata.egg-info/not-zip-safe +0 -0
  22. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata.egg-info/requires.txt +0 -0
  23. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/plotastrodata.egg-info/top_level.txt +0 -0
  24. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/setup.cfg +0 -0
  25. {plotastrodata-1.9.15 → plotastrodata-1.9.16}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotastrodata
3
- Version: 1.9.15
3
+ Version: 1.9.16
4
4
  Summary: plotastrodata is a tool for astronomers to create figures from FITS files and perform fundamental data analyses with ease.
5
5
  Home-page: https://github.com/yusukeaso-astron/plotastrodata
6
6
  Download-URL: https://github.com/yusukeaso-astron/plotastrodata
@@ -1,4 +1,4 @@
1
1
  import warnings
2
2
 
3
3
  warnings.simplefilter('ignore', FutureWarning)
4
- __version__ = '1.9.15'
4
+ __version__ = '1.9.16'
@@ -324,6 +324,11 @@ class Beam():
324
324
  self.beam_kwargs = beam_kwargs
325
325
 
326
326
  def todict(self) -> dict[str, Any]:
327
+ """Return beam display settings as a dictionary.
328
+
329
+ Returns:
330
+ dict: Keyword arguments for PlotAstroData.add_beam().
331
+ """
327
332
  tmp = {'show_beam': self.show_beam,
328
333
  'beam': self.beam,
329
334
  'beamcolor': self.beamcolor,
@@ -427,8 +432,16 @@ class PlotAxes2D():
427
432
  method(value)
428
433
 
429
434
  def set_xyaxes(self, ax: Any) -> None:
435
+ """Apply stored x- and y-axis settings to a Matplotlib axes object.
436
+
437
+ Args:
438
+ ax (object): Matplotlib axes object.
439
+ """
430
440
  self.ax = ax
431
441
  self._set_scale()
442
+ for axis in ['x', 'y']:
443
+ # Applying 'lim' is required before and after the ticks.
444
+ self._apply_if_not_none(axis, 'lim')
432
445
  if self.samexy:
433
446
  ax.set_xticks(ax.get_yticks())
434
447
  ax.set_yticks(ax.get_xticks())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plotastrodata
3
- Version: 1.9.15
3
+ Version: 1.9.16
4
4
  Summary: plotastrodata is a tool for astronomers to create figures from FITS files and perform fundamental data analyses with ease.
5
5
  Home-page: https://github.com/yusukeaso-astron/plotastrodata
6
6
  Download-URL: https://github.com/yusukeaso-astron/plotastrodata
File without changes
File without changes
File without changes
File without changes