starplot 0.12.2__py2.py3-none-any.whl → 0.12.4__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.

Potentially problematic release.


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

starplot/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
- """Star charts and maps"""
1
+ """Star charts and maps of the sky"""
2
2
 
3
- __version__ = "0.12.2"
3
+ __version__ = "0.12.4"
4
4
 
5
5
  from .base import BasePlot # noqa: F401
6
6
  from .map import MapPlot, Projection # noqa: F401
starplot/base.py CHANGED
@@ -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:
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["uma"])
106
+ print(gdf.loc["cmi"])
107
107
 
108
108
  print("Total Constellations: " + str(len(constellation_records)))
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: starplot
3
- Version: 0.12.2
4
- Summary: Star charts and maps
3
+ Version: 0.12.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>
7
7
  Description-Content-Type: text/markdown
@@ -1,5 +1,5 @@
1
- starplot/__init__.py,sha256=2lnh-uGVPlF6yYtorZZRVz4sfHXRnDGyoISl3tbDdYs,435
2
- starplot/base.py,sha256=QYjlLeiEZ5M3fq2NQiaQdkTjUVamzsc5_V2Ry-KWP2M,29309
1
+ starplot/__init__.py,sha256=wBsCsV7v3pp3nJJV0q79m4JK44LKz__dcuPMtrwLb6g,446
2
+ starplot/base.py,sha256=-ljmfjtObFDOdsvCfKesWJYYm5oprlKMGqbhd7Jb-3w,29336
3
3
  starplot/callables.py,sha256=5GZZoOhYc3wAJTzPgXt_tHdjIr-fKdhCbWjm6FT7Er8,2927
4
4
  starplot/geod.py,sha256=QJmF6dOa4dpLoLQ32QsiXaG4gBpTBuagzSFquM9OzsM,2665
5
5
  starplot/map.py,sha256=Xw6jVGGAULl1S6yI7SzGyhfUXE2oeVFJE90ehbyzIRA,31048
@@ -20,7 +20,7 @@ starplot/data/utils.py,sha256=RPk3bnfL-KtjMk1VQygDD27INz_gEya_B1hu7X4K8hU,772
20
20
  starplot/data/library/constellation_borders_inv.gpkg,sha256=UxEqiAtCQ7qMZkUa_cAQXEjh2qgZ6gcivTsX7_O4DkQ,147456
21
21
  starplot/data/library/constellation_lines_hips.json,sha256=7Hjj5quY5nBiNVCY5Y94VwoAibTOexXiY6X1qGWMCsc,18697
22
22
  starplot/data/library/constellation_lines_inv.gpkg,sha256=izwkvwvB_3OgxWgNi6YNbKUSRJKuhk_3u3EUG3FBSqg,131072
23
- starplot/data/library/constellations.gpkg,sha256=3_LyArlxiyDqgguP0Z0NfBPYgnQs2NAzhRTTxD6EwP0,155648
23
+ starplot/data/library/constellations.gpkg,sha256=0Dpom2pirPQJ-Ue6oxKkdrUyGplUwrL6RshYEsmmoDk,155648
24
24
  starplot/data/library/constellations_hip.fab,sha256=m2DxkYCNjlE2bSyaIkwdtE7BB4-nNsqomGX7F3EIoXU,10882
25
25
  starplot/data/library/de421_2001.bsp,sha256=ymkZigAd8Vgscq_DYkdR4nZ1VGD5wwPd-sxe6HiiTns,5341104
26
26
  starplot/data/library/milkyway.gpkg,sha256=m-0P-gIKqn6qlaL1azk31VyZKv0yX4w4C8hRBuMOlaQ,233472
@@ -29,7 +29,7 @@ starplot/data/library/ongc.gpkg.zip,sha256=GMalAemTlQ1Efne7v1ZmRUOPTkbt6iv0svfUy
29
29
  starplot/data/library/stars.bigsky.mag11.parquet,sha256=TOBPeE3JhVMse4EHF4KKXNNObx3-22LF0Ol3cpjL2dU,21391042
30
30
  starplot/data/library/stars.hipparcos.parquet,sha256=wipUr4K0OyYIot7VuwqPCVkQ1iQ4msKeLsk654PdA_E,4606230
31
31
  starplot/data/prep/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
- starplot/data/prep/constellations.py,sha256=C0t2LSvlOQNlKFB8MfWhF-VpzRHAFs92lDI88O4JffY,2929
32
+ starplot/data/prep/constellations.py,sha256=bZDUrtOpWjf6mvdskF7BGdUechfCS1QyXV00wgTg2-g,2948
33
33
  starplot/data/prep/dsos.py,sha256=X9UowAT8WdPvxoNQ04XZLqFREfr5LD_iMDBzCJR77z8,7273
34
34
  starplot/data/prep/utils.py,sha256=cTlJu0uDnn8GvGC_QUlRgJN1f-B8IV8r5qyXdZSxYVE,417
35
35
  starplot/models/__init__.py,sha256=nLs7icsvDYxJMS6onhjicR5pSSeOrO_YDrrktAaqlAQ,321
@@ -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.2.dist-info/LICENSE,sha256=jcjClHF4BQwhz-kDgia-KphO9Zxu0rCa2BbiA7j1jeU,1070
65
- starplot-0.12.2.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
66
- starplot-0.12.2.dist-info/METADATA,sha256=zJeM49DBvS4zFSgmFvti0A9yW87RC4s6UuWZicUXGhs,4120
67
- starplot-0.12.2.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.9.0
2
+ Generator: flit 3.10.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any