starplot 0.13.0__py2.py3-none-any.whl → 0.15.0__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 +5 -2
- starplot/base.py +311 -197
- starplot/cli.py +33 -0
- starplot/coordinates.py +6 -0
- starplot/data/__init__.py +6 -24
- starplot/data/bigsky.py +58 -40
- starplot/data/constellation_lines.py +827 -0
- starplot/data/constellation_stars.py +1501 -0
- starplot/data/constellations.py +600 -27
- starplot/data/db.py +17 -0
- starplot/data/dsos.py +24 -141
- starplot/data/stars.py +45 -24
- starplot/geod.py +0 -6
- starplot/geometry.py +181 -0
- starplot/horizon.py +302 -231
- starplot/map.py +100 -463
- starplot/mixins.py +75 -14
- starplot/models/__init__.py +1 -1
- starplot/models/base.py +18 -129
- starplot/models/constellation.py +55 -32
- starplot/models/dso.py +132 -67
- starplot/models/moon.py +57 -78
- starplot/models/planet.py +44 -69
- starplot/models/star.py +91 -60
- starplot/models/sun.py +32 -53
- starplot/optic.py +21 -18
- starplot/plotters/__init__.py +2 -0
- starplot/plotters/constellations.py +342 -0
- starplot/plotters/dsos.py +49 -68
- starplot/plotters/experimental.py +171 -0
- starplot/plotters/milkyway.py +39 -0
- starplot/plotters/stars.py +126 -122
- starplot/profile.py +16 -0
- starplot/settings.py +26 -0
- starplot/styles/__init__.py +2 -0
- starplot/styles/base.py +56 -34
- starplot/styles/ext/antique.yml +11 -9
- starplot/styles/ext/blue_dark.yml +8 -10
- starplot/styles/ext/blue_gold.yml +135 -0
- starplot/styles/ext/blue_light.yml +14 -12
- starplot/styles/ext/blue_medium.yml +23 -20
- starplot/styles/ext/cb_wong.yml +9 -7
- starplot/styles/ext/grayscale.yml +4 -3
- starplot/styles/ext/grayscale_dark.yml +7 -5
- starplot/styles/ext/map.yml +9 -6
- starplot/styles/ext/nord.yml +7 -7
- starplot/styles/ext/optic.yml +1 -1
- starplot/styles/extensions.py +1 -0
- starplot/utils.py +19 -0
- starplot/warnings.py +21 -0
- {starplot-0.13.0.dist-info → starplot-0.15.0.dist-info}/METADATA +19 -18
- starplot-0.15.0.dist-info/RECORD +97 -0
- starplot-0.15.0.dist-info/entry_points.txt +3 -0
- starplot/data/bayer.py +0 -3499
- starplot/data/flamsteed.py +0 -2682
- starplot/data/library/constellation_borders_inv.gpkg +0 -0
- starplot/data/library/constellation_lines_hips.json +0 -709
- starplot/data/library/constellation_lines_inv.gpkg +0 -0
- starplot/data/library/constellations.gpkg +0 -0
- starplot/data/library/constellations_hip.fab +0 -88
- starplot/data/library/milkyway.gpkg +0 -0
- starplot/data/library/milkyway_inv.gpkg +0 -0
- starplot/data/library/ongc.gpkg.zip +0 -0
- starplot/data/library/stars.bigsky.mag11.parquet +0 -0
- starplot/data/library/stars.hipparcos.parquet +0 -0
- starplot/data/messier.py +0 -111
- starplot/data/prep/__init__.py +0 -0
- starplot/data/prep/constellations.py +0 -108
- starplot/data/prep/dsos.py +0 -299
- starplot/data/prep/utils.py +0 -16
- starplot/models/geometry.py +0 -44
- starplot-0.13.0.dist-info/RECORD +0 -101
- {starplot-0.13.0.dist-info → starplot-0.15.0.dist-info}/LICENSE +0 -0
- {starplot-0.13.0.dist-info → starplot-0.15.0.dist-info}/WHEEL +0 -0
starplot/styles/base.py
CHANGED
|
@@ -12,7 +12,7 @@ from pydantic.functional_serializers import PlainSerializer
|
|
|
12
12
|
from matplotlib import patheffects
|
|
13
13
|
from typing_extensions import Annotated
|
|
14
14
|
|
|
15
|
-
from starplot.
|
|
15
|
+
from starplot.models.dso import DsoType
|
|
16
16
|
from starplot.styles.helpers import merge_dict
|
|
17
17
|
from starplot.styles.markers import (
|
|
18
18
|
ellipse,
|
|
@@ -135,7 +135,7 @@ class MarkerSymbolEnum(str, Enum):
|
|
|
135
135
|
CIRCLE_DOTTED_RINGS = "circle_dotted_rings"
|
|
136
136
|
|
|
137
137
|
CIRCLE_LINE = "circle_line"
|
|
138
|
-
"""\u29B5"""
|
|
138
|
+
"""\u29B5 the standard symbol for double stars"""
|
|
139
139
|
|
|
140
140
|
COMET = "comet"
|
|
141
141
|
"""\u2604"""
|
|
@@ -204,6 +204,8 @@ class AnchorPointEnum(str, Enum):
|
|
|
204
204
|
"""Options for the anchor point of labels"""
|
|
205
205
|
|
|
206
206
|
CENTER = "center"
|
|
207
|
+
LEFT_CENTER = "left center"
|
|
208
|
+
RIGHT_CENTER = "right center"
|
|
207
209
|
TOP_LEFT = "top left"
|
|
208
210
|
TOP_RIGHT = "top right"
|
|
209
211
|
TOP_CENTER = "top center"
|
|
@@ -235,6 +237,12 @@ class AnchorPointEnum(str, Enum):
|
|
|
235
237
|
elif self.value == AnchorPointEnum.CENTER:
|
|
236
238
|
style["va"] = "center"
|
|
237
239
|
style["ha"] = "center"
|
|
240
|
+
elif self.value == AnchorPointEnum.LEFT_CENTER:
|
|
241
|
+
style["va"] = "center"
|
|
242
|
+
style["ha"] = "right"
|
|
243
|
+
elif self.value == AnchorPointEnum.RIGHT_CENTER:
|
|
244
|
+
style["va"] = "center"
|
|
245
|
+
style["ha"] = "left"
|
|
238
246
|
|
|
239
247
|
return style
|
|
240
248
|
|
|
@@ -392,6 +400,12 @@ class LineStyle(BaseStyle):
|
|
|
392
400
|
|
|
393
401
|
return result
|
|
394
402
|
|
|
403
|
+
def matplot_line_collection_kwargs(self, scale: float = 1.0) -> dict:
|
|
404
|
+
plot_kwargs = self.matplot_kwargs(scale)
|
|
405
|
+
plot_kwargs["linewidths"] = plot_kwargs.pop("linewidth")
|
|
406
|
+
plot_kwargs["colors"] = plot_kwargs.pop("color")
|
|
407
|
+
return plot_kwargs
|
|
408
|
+
|
|
395
409
|
|
|
396
410
|
class PolygonStyle(BaseStyle):
|
|
397
411
|
"""
|
|
@@ -423,7 +437,7 @@ class PolygonStyle(BaseStyle):
|
|
|
423
437
|
styles = dict(
|
|
424
438
|
edgecolor=self.edge_color.as_hex() if self.edge_color else "none",
|
|
425
439
|
facecolor=self.fill_color.as_hex() if self.fill_color else "none",
|
|
426
|
-
fill=True if self.fill_color else False,
|
|
440
|
+
fill=True if self.fill_color or self.color else False,
|
|
427
441
|
linewidth=self.edge_width * scale,
|
|
428
442
|
linestyle=self.line_style,
|
|
429
443
|
alpha=self.alpha,
|
|
@@ -435,6 +449,21 @@ class PolygonStyle(BaseStyle):
|
|
|
435
449
|
|
|
436
450
|
return styles
|
|
437
451
|
|
|
452
|
+
def to_marker_style(self, symbol: MarkerSymbolEnum):
|
|
453
|
+
color = self.color.as_hex() if self.color else None
|
|
454
|
+
fill_color = self.fill_color.as_hex() if self.fill_color else None
|
|
455
|
+
fill_style = FillStyleEnum.FULL if color or fill_color else FillStyleEnum.NONE
|
|
456
|
+
return MarkerStyle(
|
|
457
|
+
symbol=symbol,
|
|
458
|
+
color=color or fill_color,
|
|
459
|
+
fill=fill_style,
|
|
460
|
+
edge_color=self.edge_color.as_hex() if self.edge_color else None,
|
|
461
|
+
edge_width=self.edge_width,
|
|
462
|
+
alpha=self.alpha,
|
|
463
|
+
zorder=self.zorder,
|
|
464
|
+
line_style=self.line_style,
|
|
465
|
+
)
|
|
466
|
+
|
|
438
467
|
|
|
439
468
|
class LabelStyle(BaseStyle):
|
|
440
469
|
"""
|
|
@@ -648,6 +677,8 @@ class PlotStyle(BaseStyle):
|
|
|
648
677
|
AnchorPointEnum.BOTTOM_LEFT,
|
|
649
678
|
AnchorPointEnum.BOTTOM_CENTER,
|
|
650
679
|
AnchorPointEnum.TOP_CENTER,
|
|
680
|
+
AnchorPointEnum.RIGHT_CENTER,
|
|
681
|
+
AnchorPointEnum.LEFT_CENTER,
|
|
651
682
|
]
|
|
652
683
|
"""If a label's preferred anchor point results in a collision, then these fallbacks will be tried in sequence until a collision-free position is found."""
|
|
653
684
|
|
|
@@ -720,8 +751,10 @@ class PlotStyle(BaseStyle):
|
|
|
720
751
|
planets: ObjectStyle = ObjectStyle(
|
|
721
752
|
marker=MarkerStyle(
|
|
722
753
|
symbol=MarkerSymbolEnum.CIRCLE,
|
|
723
|
-
size=
|
|
754
|
+
size=28,
|
|
724
755
|
fill=FillStyleEnum.LEFT,
|
|
756
|
+
zorder=ZOrderEnum.LAYER_3,
|
|
757
|
+
alpha=1,
|
|
725
758
|
),
|
|
726
759
|
label=LabelStyle(
|
|
727
760
|
font_size=28,
|
|
@@ -774,13 +807,7 @@ class PlotStyle(BaseStyle):
|
|
|
774
807
|
edge_width=1.3,
|
|
775
808
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
776
809
|
),
|
|
777
|
-
label=LabelStyle(
|
|
778
|
-
# font_weight=FontWeightEnum.LIGHT,
|
|
779
|
-
# offset_x=7,
|
|
780
|
-
# offset_y=-6,
|
|
781
|
-
offset_x="auto",
|
|
782
|
-
offset_y="auto",
|
|
783
|
-
),
|
|
810
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
784
811
|
)
|
|
785
812
|
"""Styling for open star clusters"""
|
|
786
813
|
|
|
@@ -792,11 +819,7 @@ class PlotStyle(BaseStyle):
|
|
|
792
819
|
edge_width=1.3,
|
|
793
820
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
794
821
|
),
|
|
795
|
-
label=LabelStyle(
|
|
796
|
-
font_weight=FontWeightEnum.LIGHT,
|
|
797
|
-
offset_x=7,
|
|
798
|
-
offset_y=-6,
|
|
799
|
-
),
|
|
822
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
800
823
|
)
|
|
801
824
|
"""Styling for associations of stars"""
|
|
802
825
|
|
|
@@ -809,7 +832,7 @@ class PlotStyle(BaseStyle):
|
|
|
809
832
|
edge_width=1.2,
|
|
810
833
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
811
834
|
),
|
|
812
|
-
label=LabelStyle(offset_x=
|
|
835
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
813
836
|
)
|
|
814
837
|
"""Styling for globular star clusters"""
|
|
815
838
|
|
|
@@ -819,7 +842,7 @@ class PlotStyle(BaseStyle):
|
|
|
819
842
|
fill=FillStyleEnum.FULL,
|
|
820
843
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
821
844
|
),
|
|
822
|
-
label=LabelStyle(offset_x=
|
|
845
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
823
846
|
)
|
|
824
847
|
"""Styling for galaxies"""
|
|
825
848
|
|
|
@@ -829,7 +852,7 @@ class PlotStyle(BaseStyle):
|
|
|
829
852
|
fill=FillStyleEnum.FULL,
|
|
830
853
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
831
854
|
),
|
|
832
|
-
label=LabelStyle(offset_x=
|
|
855
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
833
856
|
)
|
|
834
857
|
"""Styling for nebulas"""
|
|
835
858
|
|
|
@@ -841,7 +864,7 @@ class PlotStyle(BaseStyle):
|
|
|
841
864
|
size=26,
|
|
842
865
|
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
843
866
|
),
|
|
844
|
-
label=LabelStyle(offset_x=
|
|
867
|
+
label=LabelStyle(offset_x="auto", offset_y="auto"),
|
|
845
868
|
)
|
|
846
869
|
"""Styling for planetary nebulas"""
|
|
847
870
|
|
|
@@ -932,17 +955,8 @@ class PlotStyle(BaseStyle):
|
|
|
932
955
|
)
|
|
933
956
|
"""Styling for 'duplicate record' (as designated by OpenNGC) types of deep sky objects"""
|
|
934
957
|
|
|
935
|
-
#
|
|
936
|
-
|
|
937
|
-
line=LineStyle(color="#c8c8c8"),
|
|
938
|
-
label=LabelStyle(
|
|
939
|
-
font_size=21,
|
|
940
|
-
font_weight=FontWeightEnum.NORMAL,
|
|
941
|
-
zorder=ZOrderEnum.LAYER_3,
|
|
942
|
-
anchor_point=AnchorPointEnum.TOP_RIGHT,
|
|
943
|
-
),
|
|
944
|
-
)
|
|
945
|
-
"""Styling for constellation lines and labels (only applies to map plots)"""
|
|
958
|
+
constellation_lines: LineStyle = LineStyle(color="#c8c8c8")
|
|
959
|
+
"""Styling for constellation lines"""
|
|
946
960
|
|
|
947
961
|
constellation_borders: LineStyle = LineStyle(
|
|
948
962
|
color="#000",
|
|
@@ -951,7 +965,15 @@ class PlotStyle(BaseStyle):
|
|
|
951
965
|
alpha=0.4,
|
|
952
966
|
zorder=ZOrderEnum.LAYER_3,
|
|
953
967
|
)
|
|
954
|
-
"""Styling for constellation borders
|
|
968
|
+
"""Styling for constellation borders"""
|
|
969
|
+
|
|
970
|
+
constellation_labels: LabelStyle = LabelStyle(
|
|
971
|
+
font_size=21,
|
|
972
|
+
font_weight=FontWeightEnum.NORMAL,
|
|
973
|
+
zorder=ZOrderEnum.LAYER_3,
|
|
974
|
+
anchor_point=AnchorPointEnum.CENTER,
|
|
975
|
+
)
|
|
976
|
+
"""Styling for constellation labels"""
|
|
955
977
|
|
|
956
978
|
# Milky Way
|
|
957
979
|
milky_way: PolygonStyle = PolygonStyle(
|
|
@@ -976,7 +998,7 @@ class PlotStyle(BaseStyle):
|
|
|
976
998
|
zorder=ZOrderEnum.LAYER_2,
|
|
977
999
|
),
|
|
978
1000
|
label=LabelStyle(
|
|
979
|
-
font_size=
|
|
1001
|
+
font_size=20,
|
|
980
1002
|
font_color="#000",
|
|
981
1003
|
font_alpha=1,
|
|
982
1004
|
anchor_point=AnchorPointEnum.BOTTOM_CENTER,
|
|
@@ -992,7 +1014,7 @@ class PlotStyle(BaseStyle):
|
|
|
992
1014
|
style=LineStyleEnum.DOTTED,
|
|
993
1015
|
dash_capstyle=DashCapStyleEnum.ROUND,
|
|
994
1016
|
alpha=1,
|
|
995
|
-
zorder=ZOrderEnum.LAYER_3,
|
|
1017
|
+
zorder=ZOrderEnum.LAYER_3 - 1,
|
|
996
1018
|
),
|
|
997
1019
|
label=LabelStyle(
|
|
998
1020
|
font_size=22,
|
starplot/styles/ext/antique.yml
CHANGED
|
@@ -46,19 +46,21 @@ celestial_equator:
|
|
|
46
46
|
line:
|
|
47
47
|
color: hsl(188, 35%, 76%)
|
|
48
48
|
alpha: 0.62
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
|
|
50
|
+
# Constellations
|
|
51
|
+
constellation_lines:
|
|
52
|
+
alpha: 0.3
|
|
53
|
+
color: hsl(48, 80%, 14%)
|
|
54
|
+
constellation_labels:
|
|
55
|
+
font_weight: light
|
|
56
|
+
font_color: hsl(60, 3%, 52%)
|
|
57
|
+
font_alpha: 0.46
|
|
58
|
+
font_name: "serif"
|
|
58
59
|
constellation_borders:
|
|
59
60
|
color: hsl(37, 33%, 40%)
|
|
60
61
|
alpha: 0.8
|
|
61
62
|
zorder: -500
|
|
63
|
+
|
|
62
64
|
ecliptic:
|
|
63
65
|
label:
|
|
64
66
|
font_color: hsl(26, 63%, 50%)
|
|
@@ -38,15 +38,14 @@ ecliptic:
|
|
|
38
38
|
color: '#e33b3b'
|
|
39
39
|
alpha: 1
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
# Constellations
|
|
42
|
+
constellation_lines:
|
|
43
|
+
alpha: 0.36
|
|
44
|
+
color: hsl(209, 23%, 76%)
|
|
45
|
+
constellation_labels:
|
|
46
|
+
font_alpha: 0.37
|
|
47
|
+
font_color: hsl(209, 23%, 80%)
|
|
48
|
+
font_weight: light
|
|
50
49
|
constellation_borders:
|
|
51
50
|
width: 2
|
|
52
51
|
color: hsl(209, 50%, 74%)
|
|
@@ -120,7 +119,6 @@ gridlines:
|
|
|
120
119
|
label:
|
|
121
120
|
font_alpha: 1
|
|
122
121
|
font_color: hsl(209, 53%, 94%)
|
|
123
|
-
font_weight: light
|
|
124
122
|
line:
|
|
125
123
|
alpha: 0.7
|
|
126
124
|
color: hsl(209, 53%, 37%)
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# blue_gold
|
|
2
|
+
|
|
3
|
+
background_color: rgb(46, 61, 74)
|
|
4
|
+
figure_background_color: '#fff'
|
|
5
|
+
|
|
6
|
+
text_border_color: rgb(46, 61, 74)
|
|
7
|
+
|
|
8
|
+
border_bg_color: hsl(212, 27%, 56%)
|
|
9
|
+
border_font_color: '#f1f6ff'
|
|
10
|
+
border_line_color: '#2f4358'
|
|
11
|
+
|
|
12
|
+
title:
|
|
13
|
+
font_color: '#f1f6ff'
|
|
14
|
+
star:
|
|
15
|
+
marker:
|
|
16
|
+
color: rgb(244, 233, 203)
|
|
17
|
+
edge_color: rgb(46, 61, 74)
|
|
18
|
+
label:
|
|
19
|
+
font_color: rgb(244, 233, 203)
|
|
20
|
+
bayer_labels:
|
|
21
|
+
font_alpha: 1
|
|
22
|
+
font_color: rgb(244, 233, 203)
|
|
23
|
+
flamsteed_labels:
|
|
24
|
+
font_color: rgb(244, 233, 203)
|
|
25
|
+
|
|
26
|
+
# Constellations
|
|
27
|
+
constellation_labels:
|
|
28
|
+
font_alpha: 0.75
|
|
29
|
+
font_color: rgb(244, 233, 203)
|
|
30
|
+
constellation_lines:
|
|
31
|
+
alpha: 0.8
|
|
32
|
+
color: rgb(34, 124, 130)
|
|
33
|
+
constellation_borders:
|
|
34
|
+
color: hsl(208, 23%, 2%)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
celestial_equator:
|
|
38
|
+
label:
|
|
39
|
+
font_color: '#2d5ec2'
|
|
40
|
+
line:
|
|
41
|
+
color: hsl(220, 62%, 47%)
|
|
42
|
+
alpha: 0.8
|
|
43
|
+
ecliptic:
|
|
44
|
+
label:
|
|
45
|
+
font_color: hsl(4, 60%, 54%)
|
|
46
|
+
line:
|
|
47
|
+
color: hsl(4, 60%, 54%)
|
|
48
|
+
alpha: 0.9
|
|
49
|
+
|
|
50
|
+
planets:
|
|
51
|
+
marker:
|
|
52
|
+
alpha: 1
|
|
53
|
+
color: hsl(37, 78%, 80%)
|
|
54
|
+
fill: full
|
|
55
|
+
milky_way:
|
|
56
|
+
alpha: 0.14
|
|
57
|
+
fill_color: '#94c5e3'
|
|
58
|
+
edge_width: 0
|
|
59
|
+
gridlines:
|
|
60
|
+
label:
|
|
61
|
+
font_alpha: 1
|
|
62
|
+
font_color: '#f1f6ff'
|
|
63
|
+
line:
|
|
64
|
+
alpha: 0.6
|
|
65
|
+
color: '#888'
|
|
66
|
+
style: solid
|
|
67
|
+
sun:
|
|
68
|
+
marker:
|
|
69
|
+
color: '#ffd22e'
|
|
70
|
+
edge_color: 'hsl(47, 100%, 29%)'
|
|
71
|
+
|
|
72
|
+
horizon:
|
|
73
|
+
line:
|
|
74
|
+
color: hsl(208, 23%, 14%)
|
|
75
|
+
edge_color: hsl(208, 23%, 14%)
|
|
76
|
+
label:
|
|
77
|
+
font_color: hsl(208, 23%, 84%)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
# DSOs
|
|
81
|
+
|
|
82
|
+
dso_galaxy:
|
|
83
|
+
marker:
|
|
84
|
+
alpha: 1
|
|
85
|
+
color: hsl(328, 23%, 54%)
|
|
86
|
+
edge_color: hsl(328, 23%, 24%)
|
|
87
|
+
label:
|
|
88
|
+
font_color: hsl(328, 23%, 54%)
|
|
89
|
+
|
|
90
|
+
dso_nebula: &DSO-NEB
|
|
91
|
+
marker:
|
|
92
|
+
alpha: 1
|
|
93
|
+
color: hsl(118, 23%, 54%)
|
|
94
|
+
edge_color: hsl(118, 23%, 24%)
|
|
95
|
+
label:
|
|
96
|
+
font_color: hsl(118, 23%, 54%)
|
|
97
|
+
dso_planetary_nebula: *DSO-NEB
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
dso_open_cluster: &DSO-OC
|
|
101
|
+
marker:
|
|
102
|
+
alpha: 1
|
|
103
|
+
color: hsl(44deg 70% 64%)
|
|
104
|
+
edge_color: rgb(46, 61, 74)
|
|
105
|
+
label:
|
|
106
|
+
font_color: hsl(44deg 70% 64%)
|
|
107
|
+
dso_association_stars: *DSO-OC
|
|
108
|
+
|
|
109
|
+
dso_globular_cluster:
|
|
110
|
+
marker:
|
|
111
|
+
alpha: 1
|
|
112
|
+
color: hsl(44deg 70% 64%)
|
|
113
|
+
edge_color: rgb(46, 61, 74)
|
|
114
|
+
label:
|
|
115
|
+
font_color: '#989400'
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# other DSOs
|
|
119
|
+
dso_unknown: &DSO
|
|
120
|
+
marker:
|
|
121
|
+
alpha: 1
|
|
122
|
+
color: hsl(91, 62%, 82%)
|
|
123
|
+
edge_color: hsl(91, 53%, 40%)
|
|
124
|
+
label:
|
|
125
|
+
font_color: hsl(91, 53%, 40%)
|
|
126
|
+
dso_dark_nebula: *DSO
|
|
127
|
+
dso_hii_ionized_region: *DSO
|
|
128
|
+
dso_supernova_remnant: *DSO
|
|
129
|
+
dso_nova_star: *DSO
|
|
130
|
+
dso_nonexistant: *DSO
|
|
131
|
+
dso_unknown: *DSO
|
|
132
|
+
dso_duplicate: *DSO
|
|
133
|
+
|
|
134
|
+
legend:
|
|
135
|
+
background_color: '#f1f6ff'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
background_color: '#fff'
|
|
1
|
+
# background_color: '#fff'
|
|
2
|
+
background_color: hsl(218, 88%, 99%)
|
|
2
3
|
|
|
3
|
-
text_border_color: '#fff'
|
|
4
|
+
text_border_color: hsl(218, 88%, 99%) #'#fff'
|
|
4
5
|
|
|
5
6
|
border_bg_color: '#b5cbe3'
|
|
6
7
|
border_font_color: '#2f4358'
|
|
@@ -29,14 +30,15 @@ celestial_equator:
|
|
|
29
30
|
font_color: '#2d5ec2'
|
|
30
31
|
line:
|
|
31
32
|
color: '#2d5ec2'
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
|
|
34
|
+
# Constellations
|
|
35
|
+
constellation_labels:
|
|
36
|
+
font_alpha: 0.27
|
|
37
|
+
font_color: '#000'
|
|
38
|
+
constellation_lines:
|
|
39
|
+
alpha: 0.52
|
|
40
|
+
color: '#6ba832'
|
|
41
|
+
width: 3
|
|
40
42
|
|
|
41
43
|
dso_double_star:
|
|
42
44
|
marker:
|
|
@@ -109,8 +111,8 @@ ecliptic:
|
|
|
109
111
|
alpha: 1
|
|
110
112
|
style: [0, [0.14, 2]]
|
|
111
113
|
milky_way:
|
|
112
|
-
alpha: 0.
|
|
113
|
-
fill_color: hsl(203, 70%,
|
|
114
|
+
alpha: 0.25
|
|
115
|
+
fill_color: hsl(203, 70%, 81%)
|
|
114
116
|
edge_width: 0
|
|
115
117
|
planets:
|
|
116
118
|
marker:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# blue_medium
|
|
2
2
|
|
|
3
|
-
background_color: hsl(218,
|
|
3
|
+
background_color: hsl(218, 88%, 97%)
|
|
4
4
|
figure_background_color: '#fff'
|
|
5
5
|
|
|
6
6
|
text_border_color: '#f1f6ff'
|
|
7
7
|
|
|
8
|
-
border_bg_color:
|
|
8
|
+
border_bg_color: hsl(212, 27%, 56%)
|
|
9
9
|
border_font_color: '#f1f6ff'
|
|
10
10
|
border_line_color: '#2f4358'
|
|
11
11
|
|
|
@@ -18,31 +18,33 @@ bayer_labels:
|
|
|
18
18
|
font_alpha: 1
|
|
19
19
|
font_color: '#000'
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
# Constellations
|
|
22
|
+
constellation_labels:
|
|
23
|
+
font_alpha: 0.75
|
|
24
|
+
font_color: hsl(212, 20%, 34%)
|
|
25
|
+
constellation_lines:
|
|
26
|
+
alpha: 0.5
|
|
27
|
+
color: '#6ba832'
|
|
28
28
|
|
|
29
29
|
celestial_equator:
|
|
30
30
|
label:
|
|
31
31
|
font_color: '#2d5ec2'
|
|
32
32
|
line:
|
|
33
|
-
color: hsl(220,
|
|
33
|
+
color: hsl(220, 52%, 56%)
|
|
34
34
|
alpha: 0.8
|
|
35
35
|
ecliptic:
|
|
36
36
|
label:
|
|
37
|
-
font_color:
|
|
37
|
+
font_color: hsl(207, 75%, 53%)
|
|
38
38
|
line:
|
|
39
|
-
color: hsl(
|
|
40
|
-
alpha:
|
|
39
|
+
color: hsl(207, 75%, 48%)
|
|
40
|
+
alpha: 1
|
|
41
|
+
style: [2, [2, 2]]
|
|
42
|
+
dash_capstyle: butt
|
|
41
43
|
|
|
42
44
|
planets:
|
|
43
45
|
marker:
|
|
44
|
-
alpha:
|
|
45
|
-
color:
|
|
46
|
+
alpha: 1
|
|
47
|
+
color: hsl(37, 78%, 80%)
|
|
46
48
|
fill: full
|
|
47
49
|
milky_way:
|
|
48
50
|
alpha: 0.14
|
|
@@ -51,8 +53,7 @@ milky_way:
|
|
|
51
53
|
gridlines:
|
|
52
54
|
label:
|
|
53
55
|
font_alpha: 1
|
|
54
|
-
font_color: '#
|
|
55
|
-
font_weight: light
|
|
56
|
+
font_color: '#f1f6ff'
|
|
56
57
|
line:
|
|
57
58
|
alpha: 0.6
|
|
58
59
|
color: '#888'
|
|
@@ -64,7 +65,7 @@ sun:
|
|
|
64
65
|
|
|
65
66
|
horizon:
|
|
66
67
|
line:
|
|
67
|
-
color:
|
|
68
|
+
color: hsl(212, 27%, 56%)
|
|
68
69
|
edge_color: '#2f4358'
|
|
69
70
|
label:
|
|
70
71
|
font_color: '#f1f6ff'
|
|
@@ -80,8 +81,10 @@ zenith:
|
|
|
80
81
|
dso_galaxy:
|
|
81
82
|
marker:
|
|
82
83
|
alpha: 1
|
|
83
|
-
color: hsl(330, 80%, 85%)
|
|
84
|
-
edge_color: hsl(330, 34%, 33%)
|
|
84
|
+
# color: hsl(330, 80%, 85%)
|
|
85
|
+
# edge_color: hsl(330, 34%, 33%)
|
|
86
|
+
color: hsl(330, 90%, 82%)
|
|
87
|
+
edge_color: hsl(330, 84%, 23%)
|
|
85
88
|
label:
|
|
86
89
|
font_color: hsl(330, 34%, 33%)
|
|
87
90
|
|
starplot/styles/ext/cb_wong.yml
CHANGED
|
@@ -34,13 +34,15 @@ celestial_equator:
|
|
|
34
34
|
font_color: hsl(202, 100%, 35%)
|
|
35
35
|
line:
|
|
36
36
|
color: hsl(202, 100%, 35%)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
|
|
38
|
+
# Constellations
|
|
39
|
+
constellation_labels:
|
|
40
|
+
font_color: '#c5c5c5'
|
|
41
|
+
constellation_lines:
|
|
42
|
+
alpha: 0.346
|
|
43
|
+
color: hsl(202, 100%, 35%)
|
|
44
|
+
width: 2
|
|
45
|
+
|
|
44
46
|
dso_double_star:
|
|
45
47
|
marker:
|
|
46
48
|
alpha: 0.6
|
|
@@ -8,17 +8,18 @@ border_line_color: '#000'
|
|
|
8
8
|
|
|
9
9
|
title:
|
|
10
10
|
font_color: '#000'
|
|
11
|
+
|
|
11
12
|
celestial_equator:
|
|
12
13
|
label:
|
|
13
14
|
font_color: '#999'
|
|
14
15
|
line:
|
|
15
16
|
color: '#999'
|
|
16
|
-
|
|
17
|
-
line:
|
|
18
|
-
color: '#c8c8c8'
|
|
17
|
+
|
|
19
18
|
star:
|
|
20
19
|
marker:
|
|
21
20
|
edge_color: '#fff'
|
|
21
|
+
|
|
22
|
+
# DSOs
|
|
22
23
|
dso_double_star:
|
|
23
24
|
marker:
|
|
24
25
|
color: '#000'
|
|
@@ -45,14 +45,16 @@ celestial_equator:
|
|
|
45
45
|
font_color: '#999'
|
|
46
46
|
line:
|
|
47
47
|
color: '#999'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
|
|
49
|
+
# Constellations
|
|
50
|
+
constellation_labels:
|
|
51
|
+
font_color: hsl(136, 0%, 77%)
|
|
52
|
+
constellation_lines:
|
|
53
|
+
color: hsl(136, 0%, 30%)
|
|
53
54
|
constellation_borders:
|
|
54
55
|
color: hsl(136, 0%, 42%)
|
|
55
56
|
alpha: 0.5
|
|
57
|
+
|
|
56
58
|
dso_double_star:
|
|
57
59
|
label:
|
|
58
60
|
font_color: hsl(136, 0%, 97%)
|
starplot/styles/ext/map.yml
CHANGED
starplot/styles/ext/nord.yml
CHANGED
|
@@ -27,13 +27,13 @@ celestial_equator:
|
|
|
27
27
|
line:
|
|
28
28
|
color: '#77A67F'
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
# Constellations
|
|
31
|
+
constellation_labels:
|
|
32
|
+
font_alpha: 0.7
|
|
33
|
+
font_color: rgb(230, 204, 147)
|
|
34
|
+
constellation_lines:
|
|
35
|
+
alpha: 0.36
|
|
36
|
+
color: rgb(230, 204, 147)
|
|
37
37
|
constellation_borders:
|
|
38
38
|
color: hsl(220, 16%, 12%)
|
|
39
39
|
alpha: 0.8
|
starplot/styles/ext/optic.yml
CHANGED
starplot/styles/extensions.py
CHANGED
|
@@ -22,6 +22,7 @@ GRAYSCALE_DARK = load("grayscale_dark.yml")
|
|
|
22
22
|
BLUE_LIGHT = load("blue_light.yml")
|
|
23
23
|
BLUE_MEDIUM = load("blue_medium.yml")
|
|
24
24
|
BLUE_DARK = load("blue_dark.yml")
|
|
25
|
+
BLUE_GOLD = load("blue_gold.yml")
|
|
25
26
|
ANTIQUE = load("antique.yml")
|
|
26
27
|
NORD = load("nord.yml")
|
|
27
28
|
CB_WONG = load("cb_wong.yml")
|