starplot 0.12.4__py2.py3-none-any.whl → 0.12.5__py2.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.
starplot/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Star charts and maps of the sky"""
2
2
 
3
- __version__ = "0.12.4"
3
+ __version__ = "0.12.5"
4
4
 
5
5
  from .base import BasePlot # noqa: F401
6
6
  from .map import MapPlot, Projection # noqa: F401
starplot/base.py CHANGED
@@ -395,8 +395,8 @@ class BasePlot(ABC):
395
395
  self.marker(
396
396
  ra=p.ra,
397
397
  dec=p.dec,
398
- label=label.upper() if label else None,
399
398
  style=style,
399
+ label=label.upper() if label else None,
400
400
  legend_label=legend_label,
401
401
  )
402
402
 
@@ -450,8 +450,8 @@ class BasePlot(ABC):
450
450
  self.marker(
451
451
  ra=s.ra,
452
452
  dec=s.dec,
453
- label=label,
454
453
  style=style,
454
+ label=label,
455
455
  legend_label=legend_label,
456
456
  )
457
457
 
@@ -692,8 +692,8 @@ class BasePlot(ABC):
692
692
  self.marker(
693
693
  ra=m.ra,
694
694
  dec=m.dec,
695
- label=label,
696
695
  style=style,
696
+ label=label,
697
697
  legend_label=legend_label,
698
698
  )
699
699
 
starplot/map.py CHANGED
@@ -499,11 +499,11 @@ class MapPlot(BasePlot, ExtentMaskMixin, StarPlotterMixin, DsoPlotterMixin):
499
499
  ra, dec, _ = zenith.radec()
500
500
 
501
501
  self.marker(
502
- ra.hours,
503
- dec.degrees,
504
- label,
505
- style,
506
- legend_label,
502
+ ra=ra.hours,
503
+ dec=dec.degrees,
504
+ style=style,
505
+ label=label,
506
+ legend_label=legend_label,
507
507
  )
508
508
 
509
509
  @use_style(PathStyle, "horizon")
@@ -39,6 +39,7 @@ class Constellation(SkyObject):
39
39
  ) -> None:
40
40
  super().__init__(ra, dec)
41
41
  self.iau_id = iau_id.lower()
42
+ self.constellation_id = self.iau_id # override from super()
42
43
  self.name = name
43
44
  self.boundary = boundary
44
45
 
starplot/plotters/dsos.py CHANGED
@@ -229,8 +229,8 @@ class DsoPlotterMixin:
229
229
  self.marker(
230
230
  ra=ra / 15,
231
231
  dec=dec,
232
- label=label,
233
232
  style=style,
233
+ label=label,
234
234
  skip_bounds_check=True,
235
235
  )
236
236
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: starplot
3
- Version: 0.12.4
3
+ Version: 0.12.5
4
4
  Summary: Star charts and maps of the sky
5
5
  Keywords: astronomy,stars,charts,maps,constellations
6
6
  Author-email: Steve Berardi <hello@steveberardi.com>
@@ -37,10 +37,10 @@ Project-URL: Source, https://github.com/steveberardi/starplot
37
37
  ![PyPI](https://img.shields.io/pypi/v/starplot?style=for-the-badge&color=85C0C1)
38
38
  ![License](https://img.shields.io/github/license/steveberardi/starplot?style=for-the-badge&color=A485C1)
39
39
 
40
- **Starplot** is a Python library for creating star charts and maps.
40
+ **Starplot** is a Python library for creating star charts and maps of the sky.
41
41
 
42
42
  - ⭐ **Zenith Plots** - showing the stars from a specific time/location
43
- - 🗺️ **Map Plots** - including North/South polar and Mercator projections
43
+ - 🗺️ **Map Plots** - including many map projections
44
44
  - 🔭 **Optic Plots** - simulates what you'll see through an optic (e.g. binoculars, telescope) from a time/location
45
45
  - 🪐 **Planets and Deep Sky Objects (DSOs)**
46
46
  - 🎨 **Custom Styles** - for all objects
@@ -1,8 +1,8 @@
1
- starplot/__init__.py,sha256=wBsCsV7v3pp3nJJV0q79m4JK44LKz__dcuPMtrwLb6g,446
2
- starplot/base.py,sha256=-ljmfjtObFDOdsvCfKesWJYYm5oprlKMGqbhd7Jb-3w,29336
1
+ starplot/__init__.py,sha256=WMpPgm14Gq7-S2guYnE5Dk0_HCvXA5_cI7rKrvNBoWg,446
2
+ starplot/base.py,sha256=_ofCgCa8MhYeELZO4XmIo77yAV3NkpdJY9Nmhgr6XeI,29336
3
3
  starplot/callables.py,sha256=5GZZoOhYc3wAJTzPgXt_tHdjIr-fKdhCbWjm6FT7Er8,2927
4
4
  starplot/geod.py,sha256=QJmF6dOa4dpLoLQ32QsiXaG4gBpTBuagzSFquM9OzsM,2665
5
- starplot/map.py,sha256=Xw6jVGGAULl1S6yI7SzGyhfUXE2oeVFJE90ehbyzIRA,31048
5
+ starplot/map.py,sha256=HNZtSy_K4huL6jscEgy8JQ5SaCDzwNa7WmG3O1yHhvo,31080
6
6
  starplot/mixins.py,sha256=Gp6qzlz-QWHI5pxWLSbrmBF7LltY0isBZm-Z4saSZo0,3249
7
7
  starplot/optic.py,sha256=8F7CTJcVXPYLeXlsBNSHtO_qIqm4uC4HBtbbqG1-0Ag,14197
8
8
  starplot/optics.py,sha256=JfSzfrCx_g8r3upyukgJUtXekwyVkCJ3dZxdOclfzU4,8624
@@ -34,7 +34,7 @@ starplot/data/prep/dsos.py,sha256=X9UowAT8WdPvxoNQ04XZLqFREfr5LD_iMDBzCJR77z8,72
34
34
  starplot/data/prep/utils.py,sha256=cTlJu0uDnn8GvGC_QUlRgJN1f-B8IV8r5qyXdZSxYVE,417
35
35
  starplot/models/__init__.py,sha256=nLs7icsvDYxJMS6onhjicR5pSSeOrO_YDrrktAaqlAQ,321
36
36
  starplot/models/base.py,sha256=yM7BGlLLVrC0gIH39aowWpfpIWVXhc0J-g1XJ1tCdA0,4731
37
- starplot/models/constellation.py,sha256=PpxELuWMwiCMUhHYxPHLF5nV5kqMgahq3ShiOcM5ywc,2503
37
+ starplot/models/constellation.py,sha256=bbedlY_eF2caXh2xmF0HA1IVEaucTGTK6rkvl7cq1A0,2572
38
38
  starplot/models/dso.py,sha256=ZLHOz0JSL3ZVJdd-roXkUkFk7K0JJgn1m5qDPdXsz2w,4987
39
39
  starplot/models/geometry.py,sha256=znxcqYyhockGl1CrAHVONezZ9MFB7JFxHKI-n5aeRN8,1240
40
40
  starplot/models/moon.py,sha256=Y8SXaaD6g_PhWQFV63kXh0XVdvaRhxLDC89QS_Yra1o,5496
@@ -43,7 +43,7 @@ starplot/models/planet.py,sha256=Smo6JdNKuqFILmRBbU4tcte7Q3qJWZNirTTZtHbd7yg,549
43
43
  starplot/models/star.py,sha256=o7NrQbk2ZXfK_uFDFt-vWZtyZ8URFqbRu9i2n3pDzcg,3463
44
44
  starplot/models/sun.py,sha256=lv2L7S1JJavRciFGGiOYyDqTTYZaLy7_wkGpFCzS6nw,3094
45
45
  starplot/plotters/__init__.py,sha256=MvgqZDMPuR3NaHW9SoiAk47HyMSiFwjrv34RTa_j0rs,98
46
- starplot/plotters/dsos.py,sha256=vyFx2eB1NhSZdkumSPy7VfgoFx79E1TCIUr1q3eiDpU,9066
46
+ starplot/plotters/dsos.py,sha256=pYh2SjPSdwBQX-dl1_NFlyA6-wMcNHq-kGtWvlJLzOw,9066
47
47
  starplot/plotters/stars.py,sha256=VF76I5zv8XpH97y3vbfinKMQQ8BDGqBsQpyPXfK5ho8,8455
48
48
  starplot/styles/__init__.py,sha256=luEPtL8bIpcCCUlvBojmYn7XQtGYapId-8xuA2m783U,124
49
49
  starplot/styles/base.py,sha256=S77625QNXNuTnvjvY6zI9_gzMc3tv-NUuTOjJDIePsc,30341
@@ -61,7 +61,7 @@ starplot/styles/ext/grayscale_dark.yml,sha256=6tm79qOdYpNc38bToak9RX-NHabrcE5jFN
61
61
  starplot/styles/ext/map.yml,sha256=HbP7po572UMdDmYFyA34Reac9s8V2nEoO9pi5DT9M1o,120
62
62
  starplot/styles/ext/nord.yml,sha256=AXQ-YGbKGOaQgGO6qdnNKYa1ushn3IYofg04ztE4EHE,2615
63
63
  starplot/styles/ext/optic.yml,sha256=fiTvTl8Ka07o5KqtIqqBGL65ADjnMe6oyxTBbfoHz40,236
64
- starplot-0.12.4.dist-info/LICENSE,sha256=jcjClHF4BQwhz-kDgia-KphO9Zxu0rCa2BbiA7j1jeU,1070
65
- starplot-0.12.4.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
66
- starplot-0.12.4.dist-info/METADATA,sha256=Ii9ZSyhi3_N0CYP7TZBrtIhIVyBEj5PgjfYCgSlIPZU,4131
67
- starplot-0.12.4.dist-info/RECORD,,
64
+ starplot-0.12.5.dist-info/LICENSE,sha256=jcjClHF4BQwhz-kDgia-KphO9Zxu0rCa2BbiA7j1jeU,1070
65
+ starplot-0.12.5.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
66
+ starplot-0.12.5.dist-info/METADATA,sha256=h4KKHtXVSHDaiw3JGGsnyEZYu0Rs4Mq6KXtWBioyc6g,4120
67
+ starplot-0.12.5.dist-info/RECORD,,