starplot 0.11.3__py2.py3-none-any.whl → 0.12.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.
Files changed (42) hide show
  1. starplot/__init__.py +1 -1
  2. starplot/base.py +21 -1
  3. starplot/data/constellations.py +16 -1
  4. starplot/data/dsos.py +1 -1
  5. starplot/data/library/constellations.gpkg +0 -0
  6. starplot/data/library/ongc.gpkg.zip +0 -0
  7. starplot/data/prep/__init__.py +0 -0
  8. starplot/data/prep/constellations.py +108 -0
  9. starplot/data/prep/dsos.py +299 -0
  10. starplot/data/prep/utils.py +16 -0
  11. starplot/map.py +77 -81
  12. starplot/models/__init__.py +1 -1
  13. starplot/models/base.py +9 -3
  14. starplot/models/constellation.py +27 -5
  15. starplot/models/dso.py +68 -18
  16. starplot/models/geometry.py +44 -0
  17. starplot/models/moon.py +8 -0
  18. starplot/models/objects.py +5 -1
  19. starplot/models/planet.py +14 -1
  20. starplot/models/star.py +47 -7
  21. starplot/models/sun.py +14 -1
  22. starplot/optic.py +11 -4
  23. starplot/plotters/dsos.py +59 -45
  24. starplot/plotters/stars.py +15 -29
  25. starplot/styles/base.py +98 -52
  26. starplot/styles/ext/antique.yml +29 -1
  27. starplot/styles/ext/blue_dark.yml +20 -2
  28. starplot/styles/ext/blue_light.yml +29 -1
  29. starplot/styles/ext/blue_medium.yml +30 -1
  30. starplot/styles/ext/cb_wong.yml +28 -1
  31. starplot/styles/ext/color_print.yml +3 -0
  32. starplot/styles/ext/grayscale.yml +18 -1
  33. starplot/styles/ext/grayscale_dark.yml +20 -1
  34. starplot/styles/ext/nord.yml +33 -7
  35. starplot/styles/markers.py +107 -0
  36. starplot/utils.py +1 -1
  37. {starplot-0.11.3.dist-info → starplot-0.12.0.dist-info}/METADATA +4 -13
  38. starplot-0.12.0.dist-info/RECORD +67 -0
  39. starplot/data/library/de440s.bsp +0 -0
  40. starplot-0.11.3.dist-info/RECORD +0 -62
  41. {starplot-0.11.3.dist-info → starplot-0.12.0.dist-info}/LICENSE +0 -0
  42. {starplot-0.11.3.dist-info → starplot-0.12.0.dist-info}/WHEEL +0 -0
starplot/styles/base.py CHANGED
@@ -14,11 +14,14 @@ from typing_extensions import Annotated
14
14
 
15
15
  from starplot.data.dsos import DsoType
16
16
  from starplot.styles.helpers import merge_dict
17
+ from starplot.styles.markers import ellipse, circle_cross, circle_line
18
+
17
19
 
18
20
  ColorStr = Annotated[
19
21
  Color,
20
22
  PlainSerializer(
21
- lambda c: c.as_hex() if c and c != "none" else None, return_type=str
23
+ lambda c: c.as_hex() if c and c != "none" else None,
24
+ return_type=str,
22
25
  ),
23
26
  ]
24
27
 
@@ -32,8 +35,9 @@ class BaseStyle(BaseModel):
32
35
  __hash__ = object.__hash__
33
36
 
34
37
  class Config:
35
- use_enum_values = True
36
38
  extra = "forbid"
39
+ use_enum_values = True
40
+ validate_assignment = True
37
41
 
38
42
 
39
43
  class FillStyleEnum(str, Enum):
@@ -117,6 +121,9 @@ class MarkerSymbolEnum(str, Enum):
117
121
  CIRCLE_DOTTED_EDGE = "circle_dotted_edge"
118
122
  """\u25CC"""
119
123
 
124
+ CIRCLE_LINE = "circle_line"
125
+ """\u29B5"""
126
+
120
127
  COMET = "comet"
121
128
  """\u2604"""
122
129
 
@@ -126,6 +133,9 @@ class MarkerSymbolEnum(str, Enum):
126
133
  STAR_8 = "star_8"
127
134
  """\u2734"""
128
135
 
136
+ ELLIPSE = "ellipse"
137
+ """\u2B2D"""
138
+
129
139
  def as_matplot(self) -> str:
130
140
  """Returns the matplotlib value of this marker"""
131
141
  return {
@@ -139,10 +149,12 @@ class MarkerSymbolEnum(str, Enum):
139
149
  MarkerSymbolEnum.DIAMOND: "D",
140
150
  MarkerSymbolEnum.TRIANGLE: "^",
141
151
  MarkerSymbolEnum.CIRCLE_PLUS: "$\u2295$",
142
- MarkerSymbolEnum.CIRCLE_CROSS: "$\u1AA0$",
152
+ MarkerSymbolEnum.CIRCLE_CROSS: circle_cross(),
143
153
  MarkerSymbolEnum.CIRCLE_DOTTED_EDGE: "$\u25CC$",
154
+ MarkerSymbolEnum.CIRCLE_LINE: circle_line(),
144
155
  MarkerSymbolEnum.COMET: "$\u2604$",
145
156
  MarkerSymbolEnum.STAR_8: "$\u2734$",
157
+ MarkerSymbolEnum.ELLIPSE: ellipse(),
146
158
  }[self.value]
147
159
 
148
160
 
@@ -211,6 +223,25 @@ class AnchorPointEnum(str, Enum):
211
223
  return style
212
224
 
213
225
 
226
+ class ZOrderEnum(int, Enum):
227
+ """
228
+ Z Order presets for managing layers
229
+ """
230
+
231
+ LAYER_1 = -2_000
232
+ """Bottom layer"""
233
+
234
+ LAYER_2 = -1_000
235
+
236
+ LAYER_3 = 0
237
+ """Middle layer"""
238
+
239
+ LAYER_4 = 1_000
240
+
241
+ LAYER_5 = 2_000
242
+ """Top layer"""
243
+
244
+
214
245
  class MarkerStyle(BaseStyle):
215
246
  """
216
247
  Styling properties for markers.
@@ -235,6 +266,9 @@ class MarkerStyle(BaseStyle):
235
266
  edge_color: Optional[ColorStr] = ColorStr("#000")
236
267
  """Edge color of marker. Can be a hex, rgb, hsl, or word string."""
237
268
 
269
+ edge_width: int = 1
270
+ """Edge width of marker. Not available for all marker symbols."""
271
+
238
272
  symbol: MarkerSymbolEnum = MarkerSymbolEnum.POINT
239
273
  """Symbol for marker"""
240
274
 
@@ -316,7 +350,6 @@ class LineStyle(BaseStyle):
316
350
  edge_color: Optional[ColorStr] = None
317
351
  """Edge color of the line. _If the width or color is falsey then the line will NOT be drawn with an edge._"""
318
352
 
319
- @cache
320
353
  def matplot_kwargs(self, size_multiplier: float = 1.0) -> dict:
321
354
  line_width = self.width * size_multiplier
322
355
 
@@ -521,7 +554,7 @@ class LegendStyle(BaseStyle):
521
554
  font_color: ColorStr = ColorStr("#000")
522
555
  """Font color for legend labels"""
523
556
 
524
- zorder: int = 2_000
557
+ zorder: int = ZOrderEnum.LAYER_5
525
558
  """Zorder of the legend"""
526
559
 
527
560
  def matplot_kwargs(self, size_multiplier: float = 1.0) -> dict:
@@ -551,6 +584,7 @@ class PlotStyle(BaseStyle):
551
584
  figure_background_color: ColorStr = ColorStr("#fff")
552
585
 
553
586
  text_border_width: int = 3
587
+ text_border_color: ColorStr = ColorStr("#fff")
554
588
  text_offset_x: float = 0.005
555
589
  text_offset_y: float = 0.005
556
590
 
@@ -565,7 +599,7 @@ class PlotStyle(BaseStyle):
565
599
  title: LabelStyle = LabelStyle(
566
600
  font_size=20,
567
601
  font_weight=FontWeightEnum.BOLD,
568
- zorder=1,
602
+ zorder=ZOrderEnum.LAYER_5,
569
603
  line_spacing=48,
570
604
  anchor_point=AnchorPointEnum.BOTTOM_CENTER,
571
605
  )
@@ -574,7 +608,7 @@ class PlotStyle(BaseStyle):
574
608
  # Info text
575
609
  info_text: LabelStyle = LabelStyle(
576
610
  font_size=10,
577
- zorder=1,
611
+ zorder=ZOrderEnum.LAYER_5,
578
612
  font_family="monospace",
579
613
  line_spacing=2,
580
614
  anchor_point=AnchorPointEnum.BOTTOM_CENTER,
@@ -583,15 +617,19 @@ class PlotStyle(BaseStyle):
583
617
 
584
618
  # Stars
585
619
  star: ObjectStyle = ObjectStyle(
586
- marker=MarkerStyle(fill=FillStyleEnum.FULL, zorder=1, size=36, edge_color=None),
587
- label=LabelStyle(font_size=9, font_weight=FontWeightEnum.BOLD, zorder=400),
620
+ marker=MarkerStyle(
621
+ fill=FillStyleEnum.FULL, zorder=ZOrderEnum.LAYER_3, size=36, edge_color=None
622
+ ),
623
+ label=LabelStyle(
624
+ font_size=9, font_weight=FontWeightEnum.BOLD, zorder=ZOrderEnum.LAYER_4
625
+ ),
588
626
  )
589
627
  """Styling for stars *(see [`ObjectStyle`][starplot.styles.ObjectStyle])*"""
590
628
 
591
629
  bayer_labels: LabelStyle = LabelStyle(
592
630
  font_size=7,
593
631
  font_weight=FontWeightEnum.LIGHT,
594
- zorder=1,
632
+ zorder=ZOrderEnum.LAYER_4,
595
633
  anchor_point=AnchorPointEnum.TOP_LEFT,
596
634
  )
597
635
  """Styling for Bayer labels of stars"""
@@ -616,7 +654,7 @@ class PlotStyle(BaseStyle):
616
654
  fill=FillStyleEnum.FULL,
617
655
  color="#c8c8c8",
618
656
  alpha=1,
619
- zorder=100,
657
+ zorder=ZOrderEnum.LAYER_4,
620
658
  ),
621
659
  label=LabelStyle(
622
660
  font_size=8,
@@ -631,7 +669,7 @@ class PlotStyle(BaseStyle):
631
669
  size=14,
632
670
  fill=FillStyleEnum.FULL,
633
671
  color="#000",
634
- zorder=90,
672
+ zorder=ZOrderEnum.LAYER_4 - 100,
635
673
  ),
636
674
  label=LabelStyle(
637
675
  font_size=8,
@@ -644,12 +682,14 @@ class PlotStyle(BaseStyle):
644
682
  dso_open_cluster: ObjectStyle = ObjectStyle(
645
683
  marker=MarkerStyle(
646
684
  symbol=MarkerSymbolEnum.CIRCLE,
647
- size=6,
685
+ size=7,
648
686
  fill=FillStyleEnum.FULL,
649
687
  ),
650
688
  label=LabelStyle(
651
- font_size=6,
689
+ font_size=7,
652
690
  font_weight=FontWeightEnum.LIGHT,
691
+ offset_x=10,
692
+ offset_y=-10,
653
693
  ),
654
694
  )
655
695
  """Styling for open star clusters"""
@@ -657,126 +697,128 @@ class PlotStyle(BaseStyle):
657
697
  dso_association_stars: ObjectStyle = ObjectStyle(
658
698
  marker=MarkerStyle(
659
699
  symbol=MarkerSymbolEnum.CIRCLE,
660
- size=6,
700
+ size=7,
661
701
  fill=FillStyleEnum.FULL,
662
702
  ),
663
703
  label=LabelStyle(
664
- font_size=6,
704
+ font_size=7,
665
705
  font_weight=FontWeightEnum.LIGHT,
706
+ offset_x=10,
707
+ offset_y=-10,
666
708
  ),
667
709
  )
668
710
  """Styling for associations of stars"""
669
711
 
670
712
  dso_globular_cluster: ObjectStyle = ObjectStyle(
671
713
  marker=MarkerStyle(
672
- symbol=MarkerSymbolEnum.CIRCLE,
673
- size=6,
714
+ symbol=MarkerSymbolEnum.CIRCLE_CROSS,
715
+ size=7,
674
716
  fill=FillStyleEnum.FULL,
675
717
  color="#555",
676
718
  alpha=0.8,
677
719
  ),
678
- label=LabelStyle(font_size=6),
720
+ label=LabelStyle(font_size=7, offset_x=10, offset_y=-10),
679
721
  )
680
722
  """Styling for globular star clusters"""
681
723
 
682
724
  dso_galaxy: ObjectStyle = ObjectStyle(
683
725
  marker=MarkerStyle(
684
- symbol=MarkerSymbolEnum.CIRCLE, size=6, fill=FillStyleEnum.FULL
726
+ symbol=MarkerSymbolEnum.ELLIPSE, size=7, fill=FillStyleEnum.FULL
685
727
  ),
686
- label=LabelStyle(font_size=6),
728
+ label=LabelStyle(font_size=7, offset_x=10, offset_y=-10),
687
729
  )
688
730
  """Styling for galaxies"""
689
731
 
690
732
  dso_nebula: ObjectStyle = ObjectStyle(
691
733
  marker=MarkerStyle(
692
- symbol=MarkerSymbolEnum.SQUARE, size=6, fill=FillStyleEnum.FULL
734
+ symbol=MarkerSymbolEnum.SQUARE, size=7, fill=FillStyleEnum.FULL
693
735
  ),
694
- label=LabelStyle(font_size=6),
736
+ label=LabelStyle(font_size=7, offset_x=10, offset_y=-10),
695
737
  )
696
738
  """Styling for nebulas"""
697
739
 
698
740
  dso_double_star: ObjectStyle = ObjectStyle(
699
741
  marker=MarkerStyle(
700
- symbol=MarkerSymbolEnum.CIRCLE, size=6, fill=FillStyleEnum.TOP
742
+ symbol=MarkerSymbolEnum.CIRCLE, size=7, fill=FillStyleEnum.TOP
701
743
  ),
702
- label=LabelStyle(font_size=6),
744
+ label=LabelStyle(font_size=7),
703
745
  )
704
746
  """Styling for double stars"""
705
747
 
706
748
  dso_dark_nebula: ObjectStyle = ObjectStyle(
707
749
  marker=MarkerStyle(
708
750
  symbol=MarkerSymbolEnum.SQUARE,
709
- size=6,
751
+ size=7,
710
752
  fill=FillStyleEnum.TOP,
711
753
  color="#000",
712
754
  ),
713
- label=LabelStyle(font_size=6),
755
+ label=LabelStyle(font_size=7),
714
756
  )
715
757
  """Styling for dark nebulas"""
716
758
 
717
759
  dso_hii_ionized_region: ObjectStyle = ObjectStyle(
718
760
  marker=MarkerStyle(
719
761
  symbol=MarkerSymbolEnum.SQUARE,
720
- size=6,
762
+ size=7,
721
763
  fill=FillStyleEnum.TOP,
722
764
  color="#000",
723
765
  ),
724
- label=LabelStyle(font_size=6),
766
+ label=LabelStyle(font_size=7),
725
767
  )
726
768
  """Styling for HII Ionized regions"""
727
769
 
728
770
  dso_supernova_remnant: ObjectStyle = ObjectStyle(
729
771
  marker=MarkerStyle(
730
772
  symbol=MarkerSymbolEnum.SQUARE,
731
- size=6,
773
+ size=7,
732
774
  fill=FillStyleEnum.TOP,
733
775
  color="#000",
734
776
  ),
735
- label=LabelStyle(font_size=6),
777
+ label=LabelStyle(font_size=7),
736
778
  )
737
779
  """Styling for supernova remnants"""
738
780
 
739
781
  dso_nova_star: ObjectStyle = ObjectStyle(
740
782
  marker=MarkerStyle(
741
783
  symbol=MarkerSymbolEnum.SQUARE,
742
- size=6,
784
+ size=7,
743
785
  fill=FillStyleEnum.TOP,
744
786
  color="#000",
745
787
  ),
746
- label=LabelStyle(font_size=6),
788
+ label=LabelStyle(font_size=7),
747
789
  )
748
790
  """Styling for nova stars"""
749
791
 
750
792
  dso_nonexistant: ObjectStyle = ObjectStyle(
751
793
  marker=MarkerStyle(
752
794
  symbol=MarkerSymbolEnum.SQUARE,
753
- size=6,
795
+ size=7,
754
796
  fill=FillStyleEnum.TOP,
755
797
  color="#000",
756
798
  ),
757
- label=LabelStyle(font_size=6),
799
+ label=LabelStyle(font_size=7),
758
800
  )
759
801
  """Styling for 'nonexistent' (as designated by OpenNGC) deep sky objects"""
760
802
 
761
803
  dso_unknown: ObjectStyle = ObjectStyle(
762
804
  marker=MarkerStyle(
763
805
  symbol=MarkerSymbolEnum.SQUARE,
764
- size=6,
806
+ size=7,
765
807
  fill=FillStyleEnum.TOP,
766
808
  color="#000",
767
809
  ),
768
- label=LabelStyle(font_size=6),
810
+ label=LabelStyle(font_size=7),
769
811
  )
770
812
  """Styling for 'unknown' (as designated by OpenNGC) types of deep sky objects"""
771
813
 
772
814
  dso_duplicate: ObjectStyle = ObjectStyle(
773
815
  marker=MarkerStyle(
774
816
  symbol=MarkerSymbolEnum.SQUARE,
775
- size=6,
817
+ size=7,
776
818
  fill=FillStyleEnum.TOP,
777
819
  color="#000",
778
820
  ),
779
- label=LabelStyle(font_size=6),
821
+ label=LabelStyle(font_size=7),
780
822
  )
781
823
  """Styling for 'duplicate record' (as designated by OpenNGC) types of deep sky objects"""
782
824
 
@@ -786,23 +828,27 @@ class PlotStyle(BaseStyle):
786
828
  label=LabelStyle(
787
829
  font_size=7,
788
830
  font_weight=FontWeightEnum.LIGHT,
789
- zorder=400,
831
+ zorder=ZOrderEnum.LAYER_3,
790
832
  anchor_point=AnchorPointEnum.TOP_RIGHT,
791
833
  ),
792
834
  )
793
835
  """Styling for constellation lines and labels (only applies to map plots)"""
794
836
 
795
837
  constellation_borders: LineStyle = LineStyle(
796
- color="#000", width=2, style=LineStyleEnum.DASHED, alpha=0.2, zorder=-100
838
+ color="#000",
839
+ width=2,
840
+ style=LineStyleEnum.DASHED,
841
+ alpha=0.2,
842
+ zorder=ZOrderEnum.LAYER_3,
797
843
  )
798
844
  """Styling for constellation borders (only applies to map plots)"""
799
845
 
800
846
  # Milky Way
801
847
  milky_way: PolygonStyle = PolygonStyle(
802
- color="#d9d9d9",
848
+ fill_color="#d9d9d9",
803
849
  alpha=0.36,
804
850
  edge_width=0,
805
- zorder=-1_000,
851
+ zorder=ZOrderEnum.LAYER_2,
806
852
  )
807
853
  """Styling for the Milky Way (only applies to map plots)"""
808
854
 
@@ -817,7 +863,7 @@ class PlotStyle(BaseStyle):
817
863
  width=1,
818
864
  style=LineStyleEnum.SOLID,
819
865
  alpha=0.8,
820
- zorder=-1_000,
866
+ zorder=ZOrderEnum.LAYER_2,
821
867
  ),
822
868
  label=LabelStyle(
823
869
  font_size=9,
@@ -837,14 +883,14 @@ class PlotStyle(BaseStyle):
837
883
  style=LineStyleEnum.DOTTED,
838
884
  dash_capstyle=DashCapStyleEnum.ROUND,
839
885
  alpha=0.8,
840
- zorder=-20,
886
+ zorder=ZOrderEnum.LAYER_3,
841
887
  ),
842
888
  label=LabelStyle(
843
889
  font_size=6,
844
890
  font_color="#777",
845
891
  font_weight=FontWeightEnum.LIGHT,
846
892
  font_alpha=1,
847
- zorder=-20,
893
+ zorder=ZOrderEnum.LAYER_3,
848
894
  ),
849
895
  )
850
896
  """Styling for the Ecliptic"""
@@ -856,14 +902,14 @@ class PlotStyle(BaseStyle):
856
902
  width=2,
857
903
  style=LineStyleEnum.DASHED_DOTS,
858
904
  alpha=0.65,
859
- zorder=-20,
905
+ zorder=ZOrderEnum.LAYER_3,
860
906
  ),
861
907
  label=LabelStyle(
862
908
  font_size=6,
863
909
  font_color="#999",
864
910
  font_weight=FontWeightEnum.LIGHT,
865
911
  font_alpha=0.65,
866
- zorder=-20,
912
+ zorder=ZOrderEnum.LAYER_3,
867
913
  ),
868
914
  )
869
915
  """Styling for the Celestial Equator"""
@@ -877,14 +923,14 @@ class PlotStyle(BaseStyle):
877
923
  style=LineStyleEnum.SOLID,
878
924
  dash_capstyle=DashCapStyleEnum.BUTT,
879
925
  alpha=1,
880
- zorder=2000,
926
+ zorder=ZOrderEnum.LAYER_5,
881
927
  ),
882
928
  label=LabelStyle(
883
929
  anchor_point=AnchorPointEnum.CENTER,
884
930
  font_color="#000",
885
931
  font_size=23,
886
932
  font_weight=FontWeightEnum.BOLD,
887
- zorder=2000,
933
+ zorder=ZOrderEnum.LAYER_5,
888
934
  ),
889
935
  )
890
936
  """Styling for the horizon"""
@@ -919,10 +965,10 @@ class PlotStyle(BaseStyle):
919
965
  DsoType.STAR_CLUSTER_NEBULA: self.dso_nebula,
920
966
  DsoType.REFLECTION_NEBULA: self.dso_nebula,
921
967
  # Stars ----------
922
- DsoType.STAR: None,
968
+ DsoType.STAR: self.star,
923
969
  DsoType.DOUBLE_STAR: self.dso_double_star,
924
970
  DsoType.ASSOCIATION_OF_STARS: self.dso_association_stars,
925
- # Others (hidden by default style)
971
+ # Others ----------
926
972
  DsoType.DARK_NEBULA: self.dso_dark_nebula,
927
973
  DsoType.HII_IONIZED_REGION: self.dso_hii_ionized_region,
928
974
  DsoType.SUPERNOVA_REMNANT: self.dso_supernova_remnant,
@@ -9,6 +9,8 @@
9
9
  background_color: hsl(48, 80%, 96%)
10
10
  figure_background_color: hsl(60, 9%, 29%)
11
11
 
12
+ text_border_color: hsl(48, 80%, 96%)
13
+
12
14
  border_bg_color: hsl(60, 3%, 32%)
13
15
  border_font_color: hsl(60, 20%, 93%)
14
16
  border_line_color: hsl(60, 20%, 53%)
@@ -61,7 +63,7 @@ ecliptic:
61
63
  alpha: 0.6
62
64
  milky_way:
63
65
  alpha: 0.14
64
- color: hsl(48, 40%, 70%)
66
+ fill_color: hsl(48, 40%, 70%)
65
67
  edge_width: 0
66
68
  gridlines:
67
69
  label:
@@ -113,26 +115,52 @@ dso_galaxy:
113
115
  alpha: 0.42
114
116
  color: hsl(26, 93%, 82%)
115
117
  edge_color: hsl(26, 93%, 32%)
118
+ label:
119
+ font_color: hsl(26, 93%, 32%)
116
120
  dso_nebula:
117
121
  marker:
118
122
  alpha: 0.52
119
123
  color: hsl(71, 58%, 76%)
120
124
  edge_color: hsl(71, 58%, 36%)
125
+ label:
126
+ font_color: hsl(71, 58%, 36%)
121
127
  dso_open_cluster:
122
128
  marker:
123
129
  alpha: 0.52
124
130
  color: hsl(49, 92%, 77%)
125
131
  edge_color: hsl(49, 92%, 27%)
132
+ label:
133
+ font_color: hsl(49, 92%, 27%)
126
134
  dso_association_stars:
127
135
  marker:
128
136
  alpha: 0.52
129
137
  color: hsl(49, 92%, 77%)
130
138
  edge_color: hsl(49, 92%, 27%)
139
+ label:
140
+ font_color: hsl(49, 92%, 27%)
131
141
  dso_globular_cluster:
132
142
  marker:
133
143
  alpha: 0.5
134
144
  color: hsl(60, 53%, 76%)
135
145
  edge_color: hsl(60, 3%, 32%)
146
+ label:
147
+ font_color: hsl(60, 3%, 32%)
148
+
149
+ # other DSOs
150
+ dso_unknown: &DSO
151
+ marker:
152
+ alpha: 0.52
153
+ color: hsl(71, 58%, 76%)
154
+ edge_color: hsl(71, 58%, 36%)
155
+ label:
156
+ font_color: hsl(71, 58%, 36%)
157
+ dso_dark_nebula: *DSO
158
+ dso_hii_ionized_region: *DSO
159
+ dso_supernova_remnant: *DSO
160
+ dso_nova_star: *DSO
161
+ dso_nonexistant: *DSO
162
+ dso_unknown: *DSO
163
+ dso_duplicate: *DSO
136
164
 
137
165
  legend:
138
166
  background_color: hsl(48, 50%, 98%)
@@ -1,6 +1,8 @@
1
1
  background_color: hsl(209, 50%, 24%)
2
2
  figure_background_color: hsl(209, 43%, 15%)
3
3
 
4
+ text_border_color: hsl(209, 50%, 24%)
5
+
4
6
  border_bg_color: hsl(209, 50%, 20%)
5
7
  border_font_color: hsl(209, 56%, 86%)
6
8
  border_line_color: hsl(209, 38%, 50%)
@@ -93,11 +95,27 @@ dso_globular_cluster:
93
95
  marker:
94
96
  alpha: 0.68
95
97
  size: 10
96
- symbol: circle_plus
97
98
  color: hsl(209, 50%, 92%)
98
99
  edge_color: null
99
100
  zorder: 100
100
101
 
102
+ # other DSOs
103
+ dso_unknown: &DSO
104
+ label:
105
+ font_color: hsl(209, 23%, 72%)
106
+ marker:
107
+ alpha: 0.46
108
+ color: hsl(209, 50%, 78%)
109
+ edge_color: hsl(209, 50%, 20%)
110
+ zorder: -500
111
+ dso_dark_nebula: *DSO
112
+ dso_hii_ionized_region: *DSO
113
+ dso_supernova_remnant: *DSO
114
+ dso_nova_star: *DSO
115
+ dso_nonexistant: *DSO
116
+ dso_unknown: *DSO
117
+ dso_duplicate: *DSO
118
+
101
119
  info_text:
102
120
  font_color: hsl(209, 53%, 90%)
103
121
 
@@ -113,7 +131,7 @@ gridlines:
113
131
  width: 1
114
132
  milky_way:
115
133
  alpha: 0.26
116
- color: hsl(209, 50%, 54%)
134
+ fill_color: hsl(209, 50%, 54%)
117
135
  edge_width: 0
118
136
  planets:
119
137
  label:
@@ -1,5 +1,7 @@
1
1
  background_color: '#fff'
2
2
 
3
+ text_border_color: '#fff'
4
+
3
5
  border_bg_color: '#b5cbe3'
4
6
  border_font_color: '#2f4358'
5
7
  border_line_color: '#2f4358'
@@ -34,6 +36,7 @@ constellation:
34
36
  alpha: 0.3
35
37
  color: '#6ba832'
36
38
  width: 3
39
+
37
40
  dso_double_star:
38
41
  marker:
39
42
  alpha: 0.6
@@ -42,21 +45,46 @@ dso_galaxy:
42
45
  alpha: 0.5
43
46
  color: hsl(18, 68%, 75%)
44
47
  edge_color: hsl(18, 68%, 40%)
48
+ label:
49
+ font_color: hsl(18, 68%, 40%)
45
50
  dso_nebula:
46
51
  marker:
47
52
  alpha: 0.5
48
53
  color: hsl(91, 53%, 75%)
49
54
  edge_color: hsl(91, 53%, 40%)
55
+ label:
56
+ font_color: hsl(91, 53%, 40%)
50
57
  dso_open_cluster:
51
58
  marker:
52
59
  alpha: 0.3
53
60
  color: '#fffb68'
54
61
  edge_color: '#989400'
62
+ label:
63
+ font_color: '#989400'
55
64
  dso_association_stars:
56
65
  marker:
57
66
  alpha: 0.3
58
67
  color: '#fffb68'
59
68
  edge_color: '#989400'
69
+ label:
70
+ font_color: '#989400'
71
+
72
+ # other DSOs
73
+ dso_unknown: &DSO
74
+ marker:
75
+ alpha: 0.5
76
+ color: hsl(91, 53%, 75%)
77
+ edge_color: hsl(91, 53%, 40%)
78
+ label:
79
+ font_color: hsl(91, 53%, 40%)
80
+ dso_dark_nebula: *DSO
81
+ dso_hii_ionized_region: *DSO
82
+ dso_supernova_remnant: *DSO
83
+ dso_nova_star: *DSO
84
+ dso_nonexistant: *DSO
85
+ dso_unknown: *DSO
86
+ dso_duplicate: *DSO
87
+
60
88
  ecliptic:
61
89
  label:
62
90
  font_color: '#e33b3b'
@@ -64,7 +92,7 @@ ecliptic:
64
92
  color: '#e33b3b'
65
93
  milky_way:
66
94
  alpha: 0.16
67
- color: '#94c5e3'
95
+ fill_color: '#94c5e3'
68
96
  edge_width: 0
69
97
  planets:
70
98
  marker: