File tree 3 files changed +22
-11
lines changed
3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,27 @@ def create_map_orion():
44
44
"num_columns" : 1 ,
45
45
"background_alpha" : 1 ,
46
46
},
47
+ "dso_open_cluster" : {
48
+ "label" : {
49
+ "font_color" : "red" ,
50
+ "visible" : True ,
51
+ }
52
+ },
47
53
},
48
54
)
49
55
# style.milky_way.visible = False
50
56
51
57
p = sp .MapPlot (
52
58
# projection=Projection.MERCATOR,
53
59
projection = Projection .STEREO_NORTH ,
54
- # ra_min=3.6,
55
- # ra_max=7.8,
56
- # dec_min=-16,
57
- # dec_max=23.6,
58
- ra_min = 0 ,
59
- ra_max = 24 ,
60
- dec_min = 40 ,
61
- dec_max = 90 ,
60
+ ra_min = 3.6 ,
61
+ ra_max = 7.8 ,
62
+ dec_min = - 16 ,
63
+ dec_max = 23.6 ,
64
+ # ra_min=0,
65
+ # ra_max=24,
66
+ # dec_min=40,
67
+ # dec_max=90,
62
68
limiting_magnitude = 6.2 ,
63
69
style = style ,
64
70
resolution = 2600 ,
@@ -701,7 +707,7 @@ def create_map_scratch():
701
707
702
708
# create_zenith()
703
709
# create_map_mercator()
704
- create_map_stereo_north ()
710
+ # create_map_stereo_north()
705
711
# create_map_stereo_south()
706
712
create_map_orion ()
707
713
# create_map_scratch()
Original file line number Diff line number Diff line change 1
1
"""Star charts and maps"""
2
2
3
- __version__ = "0.8.3 "
3
+ __version__ = "0.8.4 "
4
4
5
5
from .base import StarPlot # noqa: F401
6
6
from .zenith import ZenithPlot # noqa: F401
Original file line number Diff line number Diff line change @@ -751,7 +751,12 @@ def _plot_dsos(self):
751
751
)
752
752
753
753
if style .label .visible :
754
- self ._plot_text (ra , dec , d .name )
754
+ self ._plot_text (
755
+ ra ,
756
+ dec ,
757
+ d .name ,
758
+ ** style .label .matplot_kwargs (self ._size_multiplier ),
759
+ )
755
760
756
761
else :
757
762
# If no major axis, then just plot as a marker
You can’t perform that action at this time.
0 commit comments