starplot 0.12.1__tar.gz → 0.12.3__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.
- {starplot-0.12.1 → starplot-0.12.3}/PKG-INFO +2 -2
- {starplot-0.12.1 → starplot-0.12.3}/docs/changelog.md +2 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples.md +14 -14
- {starplot-0.12.1 → starplot-0.12.3}/docs/index.md +3 -3
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/09.md +3 -1
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/hashlock.yml +5 -5
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/map_checks.py +20 -19
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/__init__.py +2 -2
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/base.py +18 -2
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellations.gpkg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/prep/constellations.py +2 -2
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/base.py +6 -5
- starplot-0.12.1/docs/gallery.md +0 -27
- {starplot-0.12.1 → starplot-0.12.3}/.dockerignore +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/FUNDING.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/workflows/docs.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/workflows/release.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.github/workflows/test.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/.gitignore +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/CODE_OF_CONDUCT.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/CONTRIBUTING.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/Dockerfile +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/LICENSE +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/Makefile +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/README.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/about.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/coming-soon.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/css/extra.css +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/custom/main.html +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/data/.keep +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/data-sources.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-big-dipper.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-big.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-canis-major.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-comet-neowise.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-milky-way-stars.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-orion.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-orthographic.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/map-sagittarius.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/optic-m45.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/optic-moon-saturn.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/optic-orion.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/optic-solar-eclipse.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/star-chart-basic.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/examples/star-chart-detail.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/banner.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/banner.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/banner.vectornator +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/celestial-globe.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/examples/.keep +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/favicon.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/favicon.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo.vectornator +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo2.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo2.vectornator +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/logo500.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/mono.png +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/mono.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/star.svg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/images/tutorial/.keep +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/installation.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/license.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-callables.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-data.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-mapplot.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-models.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-ongc.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-opticplot.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-selecting-objects.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/reference-styling.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/robots.txt +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/01.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/02.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/03.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/04.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/05.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/06.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/07.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial/08.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/docs/tutorial.md +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/examples.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_big.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_big_dipper.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_canis_major.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_comet_neowise.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_milky_way_stars.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_orion.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_orthographic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/map_sagittarius.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/optic_m45.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/optic_moon_saturn.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/optic_orion_nebula.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/optic_solar_eclipse.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/star_chart_basic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/examples/star_chart_detail.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/data/.keep +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/hashio.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/optic_checks.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/template.html +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/hash_checks/zenith_checks.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/mkdocs.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/pyproject.toml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/requirements-dev.txt +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/requirements.txt +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/constellation_hips.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/download_cons.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/ecliptic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/gallery.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/geopack.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/gpack_constellations.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/hip.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/hip_parquet.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/ipy.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/moonphases.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/ongc_docdata.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/scripts/ongc_geopack.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/callables.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/bayer.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/bigsky.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/constellations.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/dsos.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/ecliptic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellation_borders_inv.gpkg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellation_lines_hips.json +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellation_lines_inv.gpkg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellations_hip.fab +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/de421_2001.bsp +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/milkyway.gpkg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/milkyway_inv.gpkg +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/ongc.gpkg.zip +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/stars.bigsky.mag11.parquet +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/stars.hipparcos.parquet +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/messier.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/prep/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/prep/dsos.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/prep/utils.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/stars.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/utils.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/geod.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/map.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/mixins.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/base.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/constellation.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/dso.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/geometry.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/moon.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/objects.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/planet.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/star.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/models/sun.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/optic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/optics.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/plotters/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/plotters/dsos.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/plotters/stars.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/projections.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/antique.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/blue_dark.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/blue_light.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/blue_medium.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/cb_wong.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/color_print.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/grayscale.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/grayscale_dark.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/map.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/nord.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/ext/optic.yml +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/extensions.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/helpers.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/styles/markers.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/src/starplot/utils.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/__init__.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/data/.keep +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_constellations.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_data.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_map.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_models.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_optic.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_stars.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_styles.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/test_utils.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tests/utils.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/build.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_02.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_03.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_04.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_05.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_06.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_07.py +0 -0
- {starplot-0.12.1 → starplot-0.12.3}/tutorial/tutorial_08.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: starplot
|
|
3
|
-
Version: 0.12.
|
|
4
|
-
Summary: Star charts and maps
|
|
3
|
+
Version: 0.12.3
|
|
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>
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
- Adds colors for some DSO labels that were missing them in some style extensions
|
|
10
10
|
- Removed the kwarg `types` from `dsos`, so ALL DSO types are plotted by default
|
|
11
11
|
- [**v0.12.1**] Fixes issue with plotting the Milky Way when it consists of multiple polygons
|
|
12
|
+
- [**v0.12.2**] Allows tuples for line styles on polygons and adds geometry kwarg to polygon function
|
|
13
|
+
- [**v0.12.3**] Fixes bug with constellation names
|
|
12
14
|
|
|
13
15
|
## v0.11.x
|
|
14
16
|
[Documentation](https://archives.starplot.dev/0.11.4/)
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
<ul>
|
|
5
5
|
|
|
6
6
|
<li>
|
|
7
|
-
<a href="/examples/star-chart-basic">
|
|
7
|
+
<a href="/examples/star-chart-basic/">
|
|
8
8
|
<img src="/images/examples/star_chart_basic-sm.png" alt="Basic Star Chart" class="off-glb"/>
|
|
9
9
|
|
|
10
10
|
<p class="example-card-title">Basic Star Chart</p>
|
|
11
11
|
</a>
|
|
12
12
|
</li>
|
|
13
13
|
<li>
|
|
14
|
-
<a href="/examples/star-chart-detail">
|
|
14
|
+
<a href="/examples/star-chart-detail/">
|
|
15
15
|
<img src="/images/examples/star_chart_detail-sm.png" alt="Detailed Star Chart" class="off-glb"/>
|
|
16
16
|
|
|
17
17
|
<p class="example-card-title">Detailed Star Chart</p>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</li>
|
|
20
20
|
|
|
21
21
|
<li>
|
|
22
|
-
<a href="/examples/map-orion">
|
|
22
|
+
<a href="/examples/map-orion/">
|
|
23
23
|
<img src="/images/examples/map_orion-sm.png" alt="Map of Orion" class="off-glb"/>
|
|
24
24
|
|
|
25
25
|
<p class="example-card-title">Map of Orion</p>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</li>
|
|
28
28
|
|
|
29
29
|
<li>
|
|
30
|
-
<a href="/examples/map-big">
|
|
30
|
+
<a href="/examples/map-big/">
|
|
31
31
|
<img src="/images/examples/map_big-sm.png" alt="Big Map" class="off-glb"/>
|
|
32
32
|
|
|
33
33
|
<p class="example-card-title">Big Map</p>
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
</li>
|
|
36
36
|
|
|
37
37
|
<li>
|
|
38
|
-
<a href="/examples/optic-m45">
|
|
38
|
+
<a href="/examples/optic-m45/">
|
|
39
39
|
<img src="/images/examples/optic_m45-sm.png" alt="Optic Plot of the Pleiades" class="off-glb" loading="lazy"/>
|
|
40
40
|
|
|
41
41
|
<p class="example-card-title">Optic Plot of the Pleiades</p>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</li>
|
|
44
44
|
|
|
45
45
|
<li>
|
|
46
|
-
<a href="/examples/optic-orion">
|
|
46
|
+
<a href="/examples/optic-orion/">
|
|
47
47
|
<img src="/images/examples/optic_orion_nebula-sm.png" alt="Optic Plot of the Orion Nebula" class="off-glb" loading="lazy"/>
|
|
48
48
|
|
|
49
49
|
<p class="example-card-title">Optic Plot of the Orion Nebula</p>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</li>
|
|
52
52
|
|
|
53
53
|
<li>
|
|
54
|
-
<a href="/examples/map-milky-way-stars">
|
|
54
|
+
<a href="/examples/map-milky-way-stars/">
|
|
55
55
|
<img src="/images/examples/map_milky_way_stars-sm.png" alt="Stars of the Milky Way class="off-glb"/>
|
|
56
56
|
|
|
57
57
|
<p class="example-card-title">Milky Way Stars</p>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</li>
|
|
60
60
|
|
|
61
61
|
<li>
|
|
62
|
-
<a href="/examples/map-big-dipper">
|
|
62
|
+
<a href="/examples/map-big-dipper/">
|
|
63
63
|
<img src="/images/examples/map_big_dipper-sm.png" alt="Map of the Big Dipper" class="off-glb" loading="lazy"/>
|
|
64
64
|
|
|
65
65
|
<p class="example-card-title">Map of the Big Dipper</p>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</li>
|
|
68
68
|
|
|
69
69
|
<li>
|
|
70
|
-
<a href="/examples/map-comet-neowise">
|
|
70
|
+
<a href="/examples/map-comet-neowise/">
|
|
71
71
|
<img src="/images/examples/map_comet_neowise-sm.png" alt="Map of Comet NEOWISE in 2020" class="off-glb" loading="lazy"/>
|
|
72
72
|
|
|
73
73
|
<p class="example-card-title">Comet NEOWISE</p>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</li>
|
|
76
76
|
|
|
77
77
|
<li>
|
|
78
|
-
<a href="/examples/map-sagittarius">
|
|
78
|
+
<a href="/examples/map-sagittarius/">
|
|
79
79
|
<img src="/images/examples/map_sagittarius-sm.png" alt="Map of Sagittarius" class="off-glb" loading="lazy"/>
|
|
80
80
|
|
|
81
81
|
<p class="example-card-title">Map of Sagittarius</p>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
</li>
|
|
84
84
|
|
|
85
85
|
<li>
|
|
86
|
-
<a href="/examples/map-orthographic">
|
|
86
|
+
<a href="/examples/map-orthographic/">
|
|
87
87
|
<img src="/images/examples/map_orthographic-sm.png" alt="Orthographic Map" class="off-glb" loading="lazy"/>
|
|
88
88
|
|
|
89
89
|
<p class="example-card-title">Orthographic Map</p>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
</li>
|
|
92
92
|
|
|
93
93
|
<li>
|
|
94
|
-
<a href="/examples/optic-solar-eclipse">
|
|
94
|
+
<a href="/examples/optic-solar-eclipse/">
|
|
95
95
|
<img src="/images/examples/optic_solar_eclipse-sm.png" alt="Total Solar Eclipse 2024" class="off-glb" loading="lazy"/>
|
|
96
96
|
|
|
97
97
|
<p class="example-card-title">Total Solar Eclipse 2024</p>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
</li>
|
|
100
100
|
|
|
101
101
|
<li>
|
|
102
|
-
<a href="/examples/optic-moon-saturn">
|
|
102
|
+
<a href="/examples/optic-moon-saturn/">
|
|
103
103
|
<img src="/images/examples/optic_moon_saturn-sm.png" alt="Moon and Saturn Conjunction" class="off-glb" loading="lazy"/>
|
|
104
104
|
|
|
105
105
|
<p class="example-card-title">Moon and Saturn Conjunction</p>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</li>
|
|
108
108
|
|
|
109
109
|
<li>
|
|
110
|
-
<a href="/examples/map-canis-major">
|
|
110
|
+
<a href="/examples/map-canis-major/">
|
|
111
111
|
<img src="/images/examples/map_canis_major-sm.png" alt="Map of the Constellation Canis Major" class="off-glb" loading="lazy"/>
|
|
112
112
|
|
|
113
113
|
<p class="example-card-title">Map of Canis Major</p>
|
|
@@ -33,18 +33,18 @@ Join other starplotters on [Discord :fontawesome-brands-discord:{ .fg-primary }]
|
|
|
33
33
|
|
|
34
34
|
<figure markdown>
|
|
35
35
|
<img src="images/examples/star_chart_basic.png" height="900" width="900">
|
|
36
|
-
<figcaption>Zenith plot of the stars from a specific time/location (<a href="/examples/star-chart-basic">source code</a>)</figcaption>
|
|
36
|
+
<figcaption>Zenith plot of the stars from a specific time/location (<a href="/examples/star-chart-basic/">source code</a>)</figcaption>
|
|
37
37
|
</figure>
|
|
38
38
|
|
|
39
39
|
<figure markdown>
|
|
40
40
|
<img src="images/examples/map_orion.png" width="900">
|
|
41
|
-
<figcaption>Map around the constellation Orion, with an ellipse around Orion's Belt (<a href="/examples/map-orion">source code</a>)</figcaption>
|
|
41
|
+
<figcaption>Map around the constellation Orion, with an ellipse around Orion's Belt (<a href="/examples/map-orion/">source code</a>)</figcaption>
|
|
42
42
|
</figure>
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
<figure markdown>
|
|
46
46
|
<img src="images/examples/optic_m45.png" width="900">
|
|
47
|
-
<figcaption>Optic plot that shows what The Pleiades looked like through a refractor telescope on December 16, 2023 at 9pm PT from Palomar Mountain in California (<a href="/examples/optic-m45">source code</a>)</figcaption>
|
|
47
|
+
<figcaption>Optic plot that shows what The Pleiades looked like through a refractor telescope on December 16, 2023 at 9pm PT from Palomar Mountain in California (<a href="/examples/optic-m45/">source code</a>)</figcaption>
|
|
48
48
|
</figure>
|
|
49
49
|
|
|
50
50
|
|
|
@@ -5,7 +5,9 @@ title: 9 - Where to Go From Here
|
|
|
5
5
|
---
|
|
6
6
|
{ align=right width="180" .off-glb }
|
|
7
7
|
|
|
8
|
-
**Congratulations on finishing the tutorial!**
|
|
8
|
+
**Congratulations on finishing the tutorial!**
|
|
9
|
+
|
|
10
|
+
You're now a certified Level-1 Starplotter 🤩
|
|
9
11
|
|
|
10
12
|
The purpose of the tutorial was just to give you an intro to some of Starplot's features, so there's more to explore by checking out the rest of the documentation. Here are some good places to check out next:
|
|
11
13
|
|
|
@@ -11,15 +11,15 @@ map_gridlines:
|
|
|
11
11
|
filename: /starplot/hash_checks/data/map-gridlines.png
|
|
12
12
|
phash: f82acf9c3c616392
|
|
13
13
|
map_label_callables:
|
|
14
|
-
dhash:
|
|
14
|
+
dhash: 80988c0c9c8c88a080988c0c9c8c88a0809a9d1d0d9d9aa0
|
|
15
15
|
filename: /starplot/hash_checks/data/map-m45-label-callables.png
|
|
16
|
-
phash:
|
|
16
|
+
phash: b238cdc92ce63699
|
|
17
17
|
map_milky_way_multi_polygon:
|
|
18
18
|
dhash: 351b89e4243a2604711b88e434322604751b88e424362624
|
|
19
19
|
filename: /starplot/hash_checks/data/map-milky-way-multi-polygon.png
|
|
20
20
|
phash: bc8bf89e90ce5a44
|
|
21
21
|
map_mollweide:
|
|
22
|
-
dhash:
|
|
22
|
+
dhash: 0b2933632b3317070b2933632b3317070f295b6323130707
|
|
23
23
|
filename: /starplot/hash_checks/data/map-mollweide.png
|
|
24
24
|
phash: fa9af698c0259566
|
|
25
25
|
map_moon_phase_waxing_crescent:
|
|
@@ -43,9 +43,9 @@ map_plot_limit_by_geometry:
|
|
|
43
43
|
filename: /starplot/hash_checks/data/map-limit-by-geometry.png
|
|
44
44
|
phash: e54d9b926c6d1692
|
|
45
45
|
map_scope_bino_fov:
|
|
46
|
-
dhash:
|
|
46
|
+
dhash: 0bc0808c8c8080802bc6b22d4da9928c2bc6b22d4da9928c
|
|
47
47
|
filename: /starplot/hash_checks/data/map-scope-bino-fov.png
|
|
48
|
-
phash:
|
|
48
|
+
phash: e46b296e6e293964
|
|
49
49
|
map_stereo_base:
|
|
50
50
|
dhash: 627666f07c3c3436627666f0382c3436727666f2ecc89416
|
|
51
51
|
filename: /starplot/hash_checks/data/map-stereo-north-base.png
|
|
@@ -450,35 +450,36 @@ def check_map_plot_custom_clip_path_virgo():
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
def check_map_label_callables():
|
|
453
|
+
style = STYLE.extend(
|
|
454
|
+
{
|
|
455
|
+
"dso_open_cluster": {
|
|
456
|
+
"label": {
|
|
457
|
+
"font_size": 28,
|
|
458
|
+
"font_weight": "bold",
|
|
459
|
+
"offset_x": 310,
|
|
460
|
+
"offset_y": 240,
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
}
|
|
464
|
+
)
|
|
453
465
|
p = MapPlot(
|
|
454
466
|
projection=Projection.MILLER,
|
|
455
467
|
ra_min=3.5,
|
|
456
468
|
ra_max=4,
|
|
457
469
|
dec_min=22,
|
|
458
470
|
dec_max=26,
|
|
459
|
-
style=
|
|
460
|
-
{
|
|
461
|
-
"dso_open_cluster": {
|
|
462
|
-
"label": {
|
|
463
|
-
"font_size": 28,
|
|
464
|
-
"font_weight": "bold",
|
|
465
|
-
"offset_x": 310,
|
|
466
|
-
"offset_y": 240,
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
}
|
|
470
|
-
),
|
|
471
|
+
style=style,
|
|
471
472
|
resolution=2000,
|
|
472
473
|
)
|
|
473
474
|
m45 = DSO.get(m="45")
|
|
474
475
|
|
|
475
|
-
p.
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
476
|
+
p.polygon(
|
|
477
|
+
geometry=m45.geometry,
|
|
478
|
+
style__color=None,
|
|
479
|
+
style__fill_color=style.dso_open_cluster.marker.color,
|
|
480
|
+
style__edge_color="#000",
|
|
481
|
+
style__edge_width=4,
|
|
482
|
+
style__line_style=(0, (1.2, 8)),
|
|
482
483
|
)
|
|
483
484
|
|
|
484
485
|
p.stars(
|
|
@@ -10,6 +10,7 @@ from matplotlib import patches
|
|
|
10
10
|
from matplotlib import pyplot as plt, patheffects
|
|
11
11
|
from matplotlib.lines import Line2D
|
|
12
12
|
from pytz import timezone
|
|
13
|
+
from shapely import Polygon
|
|
13
14
|
|
|
14
15
|
from starplot import geod, models
|
|
15
16
|
from starplot.data import load, ecliptic
|
|
@@ -498,13 +499,28 @@ class BasePlot(ABC):
|
|
|
498
499
|
self.ax.add_patch(patch)
|
|
499
500
|
|
|
500
501
|
@use_style(PolygonStyle)
|
|
501
|
-
def polygon(
|
|
502
|
-
|
|
502
|
+
def polygon(
|
|
503
|
+
self,
|
|
504
|
+
style: PolygonStyle,
|
|
505
|
+
points: list = None,
|
|
506
|
+
geometry: Polygon = None,
|
|
507
|
+
):
|
|
508
|
+
"""
|
|
509
|
+
Plots a polygon.
|
|
510
|
+
|
|
511
|
+
Must pass in either `points` **or** `geometry` (but not both).
|
|
503
512
|
|
|
504
513
|
Args:
|
|
505
514
|
points: List of polygon points `[(ra, dec), ...]` - **must be in counterclockwise order**
|
|
515
|
+
geometry: A shapely Polygon. If this value is passed, then the `points` kwarg will be ignored.
|
|
506
516
|
style: Style of polygon
|
|
507
517
|
"""
|
|
518
|
+
if points is None and geometry is None:
|
|
519
|
+
raise ValueError("Must pass points or geometry when plotting polygons.")
|
|
520
|
+
|
|
521
|
+
if geometry is not None:
|
|
522
|
+
points = list(zip(*geometry.exterior.coords.xy))
|
|
523
|
+
|
|
508
524
|
_points = [(ra * 15, dec) for ra, dec in points]
|
|
509
525
|
self._polygon(_points, style)
|
|
510
526
|
|
|
Binary file
|
|
@@ -58,7 +58,7 @@ def build_constellations():
|
|
|
58
58
|
constellation_dict = {
|
|
59
59
|
"id": cid.lower(),
|
|
60
60
|
"iau_id": cid.lower(),
|
|
61
|
-
"name": props[0],
|
|
61
|
+
"name": props[0].replace("\n", " "),
|
|
62
62
|
"center_ra": props[1] * 15,
|
|
63
63
|
"center_dec": props[2],
|
|
64
64
|
"lines_hip_ids": ",".join(
|
|
@@ -103,6 +103,6 @@ gdf.to_file(
|
|
|
103
103
|
DATA_LIBRARY / "constellations.gpkg", driver="GPKG", engine="pyogrio", index=True
|
|
104
104
|
)
|
|
105
105
|
|
|
106
|
-
print(gdf.loc["
|
|
106
|
+
print(gdf.loc["cmi"])
|
|
107
107
|
|
|
108
108
|
print("Total Constellations: " + str(len(constellation_records)))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from enum import Enum
|
|
3
3
|
from pathlib import Path
|
|
4
|
-
from typing import Optional
|
|
4
|
+
from typing import Optional, Union
|
|
5
5
|
from functools import cache
|
|
6
6
|
|
|
7
7
|
import yaml
|
|
@@ -332,8 +332,8 @@ class LineStyle(BaseStyle):
|
|
|
332
332
|
color: ColorStr = ColorStr("#000")
|
|
333
333
|
"""Color of the line. Can be a hex, rgb, hsl, or word string."""
|
|
334
334
|
|
|
335
|
-
style: LineStyleEnum = LineStyleEnum.SOLID
|
|
336
|
-
"""Style of the line (e.g. solid, dashed, etc)."""
|
|
335
|
+
style: Union[LineStyleEnum, tuple] = LineStyleEnum.SOLID
|
|
336
|
+
"""Style of the line (e.g. solid, dashed, etc). Can be a predefined value in `LineStyleEnum` or a [Matplotlib linestyle tuple](https://matplotlib.org/stable/gallery/lines_bars_and_markers/linestyles.html)."""
|
|
337
337
|
|
|
338
338
|
dash_capstyle: DashCapStyleEnum = DashCapStyleEnum.PROJECTING
|
|
339
339
|
"""Style of dash endpoints"""
|
|
@@ -401,8 +401,8 @@ class PolygonStyle(BaseStyle):
|
|
|
401
401
|
fill_color: Optional[ColorStr] = None
|
|
402
402
|
"""Fill color of the polygon"""
|
|
403
403
|
|
|
404
|
-
line_style: LineStyleEnum = LineStyleEnum.SOLID
|
|
405
|
-
"""Edge line style"""
|
|
404
|
+
line_style: Union[LineStyleEnum, tuple] = LineStyleEnum.SOLID
|
|
405
|
+
"""Edge line style. Can be a predefined value in `LineStyleEnum` or a [Matplotlib linestyle tuple](https://matplotlib.org/stable/gallery/lines_bars_and_markers/linestyles.html)."""
|
|
406
406
|
|
|
407
407
|
alpha: float = 1.0
|
|
408
408
|
"""Alpha value (controls transparency)"""
|
|
@@ -419,6 +419,7 @@ class PolygonStyle(BaseStyle):
|
|
|
419
419
|
linestyle=self.line_style,
|
|
420
420
|
alpha=self.alpha,
|
|
421
421
|
zorder=self.zorder,
|
|
422
|
+
capstyle="round",
|
|
422
423
|
)
|
|
423
424
|
if self.color:
|
|
424
425
|
styles["color"] = self.color.as_hex()
|
starplot-0.12.1/docs/gallery.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<div class="grid cards" markdown>
|
|
2
|
-
|
|
3
|
-
- 
|
|
4
|
-
- 
|
|
5
|
-
|
|
6
|
-
- 
|
|
7
|
-
- 
|
|
8
|
-
|
|
9
|
-
- 
|
|
10
|
-
- 
|
|
11
|
-
|
|
12
|
-
- 
|
|
13
|
-
- 
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- 
|
|
17
|
-
|
|
18
|
-
- 
|
|
19
|
-
|
|
20
|
-
- 
|
|
21
|
-
|
|
22
|
-
- 
|
|
23
|
-
|
|
24
|
-
- 
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</div>
|
|
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
|
|
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
|
|
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
|
|
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
|
{starplot-0.12.1 → starplot-0.12.3}/src/starplot/data/library/constellation_borders_inv.gpkg
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|