starplot 0.12.3__tar.gz → 0.12.5__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 starplot might be problematic. Click here for more details.

Files changed (197) hide show
  1. {starplot-0.12.3 → starplot-0.12.5}/PKG-INFO +4 -4
  2. {starplot-0.12.3 → starplot-0.12.5}/README.md +2 -2
  3. {starplot-0.12.3 → starplot-0.12.5}/docs/changelog.md +1 -0
  4. {starplot-0.12.3 → starplot-0.12.5}/docs/index.md +2 -2
  5. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/hashlock.yml +19 -19
  6. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/__init__.py +1 -1
  7. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/base.py +5 -5
  8. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/map.py +5 -5
  9. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/constellation.py +1 -0
  10. {starplot-0.12.3 → starplot-0.12.5}/tests/test_map.py +5 -0
  11. {starplot-0.12.3 → starplot-0.12.5}/.dockerignore +0 -0
  12. {starplot-0.12.3 → starplot-0.12.5}/.github/FUNDING.yml +0 -0
  13. {starplot-0.12.3 → starplot-0.12.5}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  14. {starplot-0.12.3 → starplot-0.12.5}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  15. {starplot-0.12.3 → starplot-0.12.5}/.github/workflows/docs.yml +0 -0
  16. {starplot-0.12.3 → starplot-0.12.5}/.github/workflows/release.yml +0 -0
  17. {starplot-0.12.3 → starplot-0.12.5}/.github/workflows/test.yml +0 -0
  18. {starplot-0.12.3 → starplot-0.12.5}/.gitignore +0 -0
  19. {starplot-0.12.3 → starplot-0.12.5}/CODE_OF_CONDUCT.md +0 -0
  20. {starplot-0.12.3 → starplot-0.12.5}/CONTRIBUTING.md +0 -0
  21. {starplot-0.12.3 → starplot-0.12.5}/Dockerfile +0 -0
  22. {starplot-0.12.3 → starplot-0.12.5}/LICENSE +0 -0
  23. {starplot-0.12.3 → starplot-0.12.5}/Makefile +0 -0
  24. {starplot-0.12.3 → starplot-0.12.5}/docs/about.md +0 -0
  25. {starplot-0.12.3 → starplot-0.12.5}/docs/coming-soon.md +0 -0
  26. {starplot-0.12.3 → starplot-0.12.5}/docs/css/extra.css +0 -0
  27. {starplot-0.12.3 → starplot-0.12.5}/docs/custom/main.html +0 -0
  28. {starplot-0.12.3 → starplot-0.12.5}/docs/data/.keep +0 -0
  29. {starplot-0.12.3 → starplot-0.12.5}/docs/data-sources.md +0 -0
  30. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-big-dipper.md +0 -0
  31. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-big.md +0 -0
  32. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-canis-major.md +0 -0
  33. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-comet-neowise.md +0 -0
  34. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-milky-way-stars.md +0 -0
  35. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-orion.md +0 -0
  36. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-orthographic.md +0 -0
  37. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/map-sagittarius.md +0 -0
  38. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/optic-m45.md +0 -0
  39. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/optic-moon-saturn.md +0 -0
  40. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/optic-orion.md +0 -0
  41. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/optic-solar-eclipse.md +0 -0
  42. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/star-chart-basic.md +0 -0
  43. {starplot-0.12.3 → starplot-0.12.5}/docs/examples/star-chart-detail.md +0 -0
  44. {starplot-0.12.3 → starplot-0.12.5}/docs/examples.md +0 -0
  45. {starplot-0.12.3 → starplot-0.12.5}/docs/images/banner.png +0 -0
  46. {starplot-0.12.3 → starplot-0.12.5}/docs/images/banner.svg +0 -0
  47. {starplot-0.12.3 → starplot-0.12.5}/docs/images/banner.vectornator +0 -0
  48. {starplot-0.12.3 → starplot-0.12.5}/docs/images/celestial-globe.svg +0 -0
  49. {starplot-0.12.3 → starplot-0.12.5}/docs/images/examples/.keep +0 -0
  50. {starplot-0.12.3 → starplot-0.12.5}/docs/images/favicon.png +0 -0
  51. {starplot-0.12.3 → starplot-0.12.5}/docs/images/favicon.svg +0 -0
  52. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo.png +0 -0
  53. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo.svg +0 -0
  54. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo.vectornator +0 -0
  55. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo2.png +0 -0
  56. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo2.vectornator +0 -0
  57. {starplot-0.12.3 → starplot-0.12.5}/docs/images/logo500.png +0 -0
  58. {starplot-0.12.3 → starplot-0.12.5}/docs/images/mono.png +0 -0
  59. {starplot-0.12.3 → starplot-0.12.5}/docs/images/mono.svg +0 -0
  60. {starplot-0.12.3 → starplot-0.12.5}/docs/images/star.svg +0 -0
  61. {starplot-0.12.3 → starplot-0.12.5}/docs/images/tutorial/.keep +0 -0
  62. {starplot-0.12.3 → starplot-0.12.5}/docs/installation.md +0 -0
  63. {starplot-0.12.3 → starplot-0.12.5}/docs/license.md +0 -0
  64. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-callables.md +0 -0
  65. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-data.md +0 -0
  66. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-mapplot.md +0 -0
  67. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-models.md +0 -0
  68. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-ongc.md +0 -0
  69. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-opticplot.md +0 -0
  70. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-selecting-objects.md +0 -0
  71. {starplot-0.12.3 → starplot-0.12.5}/docs/reference-styling.md +0 -0
  72. {starplot-0.12.3 → starplot-0.12.5}/docs/robots.txt +0 -0
  73. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/01.md +0 -0
  74. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/02.md +0 -0
  75. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/03.md +0 -0
  76. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/04.md +0 -0
  77. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/05.md +0 -0
  78. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/06.md +0 -0
  79. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/07.md +0 -0
  80. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/08.md +0 -0
  81. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial/09.md +0 -0
  82. {starplot-0.12.3 → starplot-0.12.5}/docs/tutorial.md +0 -0
  83. {starplot-0.12.3 → starplot-0.12.5}/examples/examples.py +0 -0
  84. {starplot-0.12.3 → starplot-0.12.5}/examples/map_big.py +0 -0
  85. {starplot-0.12.3 → starplot-0.12.5}/examples/map_big_dipper.py +0 -0
  86. {starplot-0.12.3 → starplot-0.12.5}/examples/map_canis_major.py +0 -0
  87. {starplot-0.12.3 → starplot-0.12.5}/examples/map_comet_neowise.py +2 -2
  88. {starplot-0.12.3 → starplot-0.12.5}/examples/map_milky_way_stars.py +0 -0
  89. {starplot-0.12.3 → starplot-0.12.5}/examples/map_orion.py +0 -0
  90. {starplot-0.12.3 → starplot-0.12.5}/examples/map_orthographic.py +0 -0
  91. {starplot-0.12.3 → starplot-0.12.5}/examples/map_sagittarius.py +0 -0
  92. {starplot-0.12.3 → starplot-0.12.5}/examples/optic_m45.py +0 -0
  93. {starplot-0.12.3 → starplot-0.12.5}/examples/optic_moon_saturn.py +0 -0
  94. {starplot-0.12.3 → starplot-0.12.5}/examples/optic_orion_nebula.py +0 -0
  95. {starplot-0.12.3 → starplot-0.12.5}/examples/optic_solar_eclipse.py +0 -0
  96. {starplot-0.12.3 → starplot-0.12.5}/examples/star_chart_basic.py +0 -0
  97. {starplot-0.12.3 → starplot-0.12.5}/examples/star_chart_detail.py +1 -1
  98. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/__init__.py +0 -0
  99. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/data/.keep +0 -0
  100. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/hashio.py +0 -0
  101. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/map_checks.py +1 -1
  102. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/optic_checks.py +0 -0
  103. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/template.html +0 -0
  104. {starplot-0.12.3 → starplot-0.12.5}/hash_checks/zenith_checks.py +0 -0
  105. {starplot-0.12.3 → starplot-0.12.5}/mkdocs.yml +0 -0
  106. {starplot-0.12.3 → starplot-0.12.5}/pyproject.toml +0 -0
  107. {starplot-0.12.3 → starplot-0.12.5}/requirements-dev.txt +0 -0
  108. {starplot-0.12.3 → starplot-0.12.5}/requirements.txt +0 -0
  109. {starplot-0.12.3 → starplot-0.12.5}/scripts/constellation_hips.py +0 -0
  110. {starplot-0.12.3 → starplot-0.12.5}/scripts/download_cons.py +0 -0
  111. {starplot-0.12.3 → starplot-0.12.5}/scripts/ecliptic.py +0 -0
  112. {starplot-0.12.3 → starplot-0.12.5}/scripts/gallery.py +0 -0
  113. {starplot-0.12.3 → starplot-0.12.5}/scripts/geopack.py +0 -0
  114. {starplot-0.12.3 → starplot-0.12.5}/scripts/gpack_constellations.py +0 -0
  115. {starplot-0.12.3 → starplot-0.12.5}/scripts/hip.py +0 -0
  116. {starplot-0.12.3 → starplot-0.12.5}/scripts/hip_parquet.py +0 -0
  117. {starplot-0.12.3 → starplot-0.12.5}/scripts/ipy.py +0 -0
  118. {starplot-0.12.3 → starplot-0.12.5}/scripts/moonphases.py +0 -0
  119. {starplot-0.12.3 → starplot-0.12.5}/scripts/ongc_docdata.py +0 -0
  120. {starplot-0.12.3 → starplot-0.12.5}/scripts/ongc_geopack.py +0 -0
  121. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/callables.py +0 -0
  122. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/__init__.py +0 -0
  123. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/bayer.py +0 -0
  124. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/bigsky.py +0 -0
  125. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/constellations.py +0 -0
  126. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/dsos.py +0 -0
  127. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/ecliptic.py +0 -0
  128. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/constellation_borders_inv.gpkg +0 -0
  129. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/constellation_lines_hips.json +0 -0
  130. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/constellation_lines_inv.gpkg +0 -0
  131. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/constellations.gpkg +0 -0
  132. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/constellations_hip.fab +0 -0
  133. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/de421_2001.bsp +0 -0
  134. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/milkyway.gpkg +0 -0
  135. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/milkyway_inv.gpkg +0 -0
  136. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/ongc.gpkg.zip +0 -0
  137. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/stars.bigsky.mag11.parquet +0 -0
  138. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/library/stars.hipparcos.parquet +0 -0
  139. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/messier.py +0 -0
  140. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/prep/__init__.py +0 -0
  141. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/prep/constellations.py +0 -0
  142. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/prep/dsos.py +0 -0
  143. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/prep/utils.py +0 -0
  144. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/stars.py +0 -0
  145. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/data/utils.py +0 -0
  146. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/geod.py +0 -0
  147. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/mixins.py +0 -0
  148. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/__init__.py +0 -0
  149. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/base.py +0 -0
  150. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/dso.py +0 -0
  151. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/geometry.py +0 -0
  152. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/moon.py +0 -0
  153. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/objects.py +0 -0
  154. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/planet.py +0 -0
  155. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/star.py +0 -0
  156. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/models/sun.py +0 -0
  157. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/optic.py +0 -0
  158. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/optics.py +0 -0
  159. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/plotters/__init__.py +0 -0
  160. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/plotters/dsos.py +1 -1
  161. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/plotters/stars.py +0 -0
  162. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/projections.py +0 -0
  163. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/__init__.py +0 -0
  164. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/base.py +0 -0
  165. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/antique.yml +0 -0
  166. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/blue_dark.yml +0 -0
  167. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/blue_light.yml +0 -0
  168. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/blue_medium.yml +0 -0
  169. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/cb_wong.yml +0 -0
  170. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/color_print.yml +0 -0
  171. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/grayscale.yml +0 -0
  172. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/grayscale_dark.yml +0 -0
  173. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/map.yml +0 -0
  174. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/nord.yml +0 -0
  175. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/ext/optic.yml +0 -0
  176. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/extensions.py +0 -0
  177. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/helpers.py +0 -0
  178. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/styles/markers.py +0 -0
  179. {starplot-0.12.3 → starplot-0.12.5}/src/starplot/utils.py +0 -0
  180. {starplot-0.12.3 → starplot-0.12.5}/tests/__init__.py +0 -0
  181. {starplot-0.12.3 → starplot-0.12.5}/tests/data/.keep +0 -0
  182. {starplot-0.12.3 → starplot-0.12.5}/tests/test_constellations.py +0 -0
  183. {starplot-0.12.3 → starplot-0.12.5}/tests/test_data.py +0 -0
  184. {starplot-0.12.3 → starplot-0.12.5}/tests/test_models.py +0 -0
  185. {starplot-0.12.3 → starplot-0.12.5}/tests/test_optic.py +0 -0
  186. {starplot-0.12.3 → starplot-0.12.5}/tests/test_stars.py +0 -0
  187. {starplot-0.12.3 → starplot-0.12.5}/tests/test_styles.py +0 -0
  188. {starplot-0.12.3 → starplot-0.12.5}/tests/test_utils.py +0 -0
  189. {starplot-0.12.3 → starplot-0.12.5}/tests/utils.py +0 -0
  190. {starplot-0.12.3 → starplot-0.12.5}/tutorial/build.py +0 -0
  191. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_02.py +0 -0
  192. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_03.py +1 -1
  193. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_04.py +0 -0
  194. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_05.py +0 -0
  195. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_06.py +0 -0
  196. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_07.py +0 -0
  197. {starplot-0.12.3 → starplot-0.12.5}/tutorial/tutorial_08.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: starplot
3
- Version: 0.12.3
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
@@ -4,10 +4,10 @@
4
4
  ![PyPI](https://img.shields.io/pypi/v/starplot?style=for-the-badge&color=85C0C1)
5
5
  ![License](https://img.shields.io/github/license/steveberardi/starplot?style=for-the-badge&color=A485C1)
6
6
 
7
- **Starplot** is a Python library for creating star charts and maps.
7
+ **Starplot** is a Python library for creating star charts and maps of the sky.
8
8
 
9
9
  - ⭐ **Zenith Plots** - showing the stars from a specific time/location
10
- - 🗺️ **Map Plots** - including North/South polar and Mercator projections
10
+ - 🗺️ **Map Plots** - including many map projections
11
11
  - 🔭 **Optic Plots** - simulates what you'll see through an optic (e.g. binoculars, telescope) from a time/location
12
12
  - 🪐 **Planets and Deep Sky Objects (DSOs)**
13
13
  - 🎨 **Custom Styles** - for all objects
@@ -11,6 +11,7 @@
11
11
  - [**v0.12.1**] Fixes issue with plotting the Milky Way when it consists of multiple polygons
12
12
  - [**v0.12.2**] Allows tuples for line styles on polygons and adds geometry kwarg to polygon function
13
13
  - [**v0.12.3**] Fixes bug with constellation names
14
+ - [**v0.12.4**] Makes labels on markers default to None
14
15
 
15
16
  ## v0.11.x
16
17
  [Documentation](https://archives.starplot.dev/0.11.4/)
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: Star Charts and Maps in Python
2
+ title: Star Charts and Maps of the Sky in Python
3
3
  ---
4
4
 
5
5
  # Welcome to Starplot
@@ -9,7 +9,7 @@ title: Star Charts and Maps in Python
9
9
  ![License](https://img.shields.io/github/license/steveberardi/starplot?style=for-the-badge&color=A485C1)
10
10
  ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/steveberardi/starplot/test.yml?style=for-the-badge&color=a2c185)
11
11
 
12
- Starplot is a Python library for creating star charts and maps.
12
+ Starplot is a Python library for creating star charts and maps of the sky.
13
13
  {.text-subtitle}
14
14
 
15
15
  - ⭐ **Zenith Plots** - showing the stars from a specific time/location
@@ -63,54 +63,54 @@ optic_camera_rotated:
63
63
  filename: /starplot/hash_checks/data/optic-camera-rotated-m45.png
64
64
  phash: ac6cc6941edb7285
65
65
  optic_clipping:
66
- dhash: 70c9b8f46af4fc5d70c8b8f4eaf4fc7970c8b8f4eaf4fc79
66
+ dhash: 30c898f06ee4fc5d71c898f0eae4fc7931d898f0eae4f879
67
67
  filename: /starplot/hash_checks/data/optic-clipping.png
68
- phash: 95696a872f907873
68
+ phash: 95696a872f9a7870
69
69
  optic_m45_binoculars:
70
70
  dhash: 8e172b5133338e4d8e172b5133338e4d8e172b5133338e4d
71
71
  filename: /starplot/hash_checks/data/optic-m45-binoculars.png
72
72
  phash: aa7b84f182d18ed6
73
73
  optic_m45_camera:
74
- dhash: 4d717151717549754d717151717549754d71715171754975
74
+ dhash: 4d717151716159754d717151716159754d71715171615975
75
75
  filename: /starplot/hash_checks/data/optic-m45-camera.png
76
- phash: fe7b847e803bc484
76
+ phash: fe7b846e843b8494
77
77
  optic_m45_reflector:
78
- dhash: 8e173b712b338e4d8e173b712b338e4d8e173b712b338e4d
78
+ dhash: 8e1f3b7123338e4d8e1f3b7123338e4d8e1f3b7123338e4d
79
79
  filename: /starplot/hash_checks/data/optic-m45-reflector.png
80
- phash: bb7b84e486868b93
80
+ phash: ab7b80e4c6939b92
81
81
  optic_m45_scope:
82
- dhash: 8e172b5133238e4d8e172b5133238e4d8e172b5133238e4d
82
+ dhash: 8e173b5123238e4d8e173b5123238e4d8e173b5123238e4d
83
83
  filename: /starplot/hash_checks/data/optic-m45-scope.png
84
- phash: ae7b81e48393ce86
84
+ phash: ae7b81e48693ce92
85
85
  optic_moon_phase_full:
86
86
  dhash: 0e2b553333552b0e0e2b553333552b0e0e2b553333552b0e
87
87
  filename: /starplot/hash_checks/data/optic-moon-phase-full.png
88
- phash: fb2fa07395708721
88
+ phash: fb2ba07395708725
89
89
  optic_moon_phase_new:
90
90
  dhash: 17498e96968e491717498e96968e491717498e96968e4917
91
91
  filename: /starplot/hash_checks/data/optic-moon-phase-new.png
92
- phash: e5719e82691d6633
92
+ phash: e1619e9369596636
93
93
  optic_moon_phase_waxing_crescent:
94
- dhash: 0e33454959712b0e0e33454959712b0e0e33454959712b0e
94
+ dhash: 0e33454d59712b0e0e33454d59712b0e0e33454d59712b0e
95
95
  filename: /starplot/hash_checks/data/optic-moon-phase-waxing-crescent.png
96
96
  phash: bb26e4999166c699
97
97
  optic_orion_nebula_refractor:
98
- dhash: 8e17257163238e4d8e17257163238e4d8e17257163238e4d
98
+ dhash: 8e1f2d7163238e4d8e1f2d7163238e4d8e1f2d7163238e4d
99
99
  filename: /starplot/hash_checks/data/optic-orion-nebula-refractor.png
100
- phash: ae3a9161c7929e96
100
+ phash: ae3a9165c7919e92
101
101
  optic_polaris_binoculars:
102
102
  dhash: 8e172b512b338e4d8e172b512b338e4d8e172b512b338e4d
103
103
  filename: /starplot/hash_checks/data/optic-binoculars-polaris.png
104
104
  phash: aa7b84f186d38e92
105
105
  optic_solar_eclipse_binoculars:
106
- dhash: 0769f0cccccc710f1769f0cccccc710f2369c0cccccc610b
106
+ dhash: 0779e49a9ae469071779e09a9ae469170359c09e9ec06923
107
107
  filename: /starplot/hash_checks/data/optic-binoculars-eclipse.png
108
- phash: b38ccc3333cccc33
108
+ phash: b1cece3131cecc31
109
109
  optic_wrapping:
110
- dhash: 71e0ac90dae8752a71e0a4aca4e4792a71e0a4aca4c47932
110
+ dhash: 71f0a4d0d2da652a71f0b4ecacc4792a71e0b4acacc47932
111
111
  filename: /starplot/hash_checks/data/optic-wrapping.png
112
- phash: d0c46f1b396cf078
112
+ phash: d0c46f1b3d2ee078
113
113
  zenith_base:
114
- dhash: 1779cc8a945d3b8e1779cc8a965d2b8e1779ec8a965d2b0e
114
+ dhash: 1779c4aedc5d338e1779c4acd65d338e1779c48cde5d330e
115
115
  filename: /starplot/hash_checks/data/zenith-base.png
116
- phash: ba43eb3be1249664
116
+ phash: be49aa3be12c8764
@@ -1,6 +1,6 @@
1
1
  """Star charts and maps of the sky"""
2
2
 
3
- __version__ = "0.12.3"
3
+ __version__ = "0.12.5"
4
4
 
5
5
  from .base import BasePlot # noqa: F401
6
6
  from .map import MapPlot, Projection # noqa: F401
@@ -1,6 +1,6 @@
1
1
  from abc import ABC, abstractmethod
2
2
  from datetime import datetime
3
- from typing import Dict, Union
3
+ from typing import Dict, Union, Optional
4
4
  import logging
5
5
 
6
6
  import numpy as np
@@ -313,8 +313,8 @@ class BasePlot(ABC):
313
313
  self,
314
314
  ra: float,
315
315
  dec: float,
316
- label: str,
317
316
  style: Union[dict, ObjectStyle],
317
+ label: Optional[str] = None,
318
318
  legend_label: str = None,
319
319
  skip_bounds_check: bool = False,
320
320
  ) -> None:
@@ -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
 
@@ -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
 
@@ -67,3 +67,8 @@ def test_map_objects_list_planets():
67
67
  assert p.objects.sun.dt == dt
68
68
 
69
69
  assert len(p.objects.planets) == 8
70
+
71
+
72
+ def test_marker_no_label():
73
+ p = MapPlot(projection=Projection.MERCATOR)
74
+ p.marker(ra=10, dec=0, style__marker__color="blue")
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
@@ -68,8 +68,6 @@ for t, ra, dec in radecs:
68
68
  p.marker(
69
69
  ra=ra,
70
70
  dec=dec,
71
- label=label,
72
- legend_label="Comet NEOWISE",
73
71
  style={
74
72
  "marker": {
75
73
  "size": 16,
@@ -87,6 +85,8 @@ for t, ra, dec in radecs:
87
85
  "zorder": 4096,
88
86
  },
89
87
  },
88
+ label=label,
89
+ legend_label="Comet NEOWISE",
90
90
  )
91
91
 
92
92
  p.gridlines(labels=False)
@@ -30,7 +30,6 @@ p.milky_way()
30
30
  p.marker(
31
31
  ra=12.36,
32
32
  dec=25.85,
33
- label="Mel 111",
34
33
  style={
35
34
  "marker": {
36
35
  "size": 28,
@@ -49,6 +48,7 @@ p.marker(
49
48
  "font_alpha": 0.8,
50
49
  },
51
50
  },
51
+ label="Mel 111",
52
52
  )
53
53
  p.horizon()
54
54
 
@@ -91,7 +91,6 @@ def check_map_orion_extra():
91
91
  mercator_base.marker(
92
92
  ra=4.5,
93
93
  dec=5,
94
- label="hello worldzz label offset",
95
94
  style={
96
95
  "marker": {
97
96
  "size": 30,
@@ -104,6 +103,7 @@ def check_map_orion_extra():
104
103
  "offset_y": -100,
105
104
  },
106
105
  },
106
+ label="hello worldzz label offset",
107
107
  legend_label="hello legend",
108
108
  )
109
109
  mercator_base.circle(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -40,7 +40,6 @@ p.milky_way()
40
40
  p.marker(
41
41
  ra=12.36,
42
42
  dec=25.85,
43
- label="Mel 111",
44
43
  style={
45
44
  "marker": {
46
45
  "size": 28,
@@ -57,6 +56,7 @@ p.marker(
57
56
  "font_alpha": 0.8,
58
57
  },
59
58
  },
59
+ label="Mel 111",
60
60
  )
61
61
  p.horizon()
62
62