Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
steveberardi committed Nov 14, 2024
1 parent 6bfbeba commit d519da2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 31 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [**v0.12.1**] Fixes issue with plotting the Milky Way when it consists of multiple polygons
- [**v0.12.2**] Allows tuples for line styles on polygons and adds geometry kwarg to polygon function
- [**v0.12.3**] Fixes bug with constellation names
- [**v0.12.4**] Makes labels on markers default to None

## v0.11.x
[Documentation](https://archives.starplot.dev/0.11.4/)
Expand Down
2 changes: 1 addition & 1 deletion src/starplot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Star charts and maps of the sky"""

__version__ = "0.12.3"
__version__ = "0.12.4"

from .base import BasePlot # noqa: F401
from .map import MapPlot, Projection # noqa: F401
Expand Down
32 changes: 2 additions & 30 deletions tests/test_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,33 +70,5 @@ def test_map_objects_list_planets():


def test_marker_no_label():
p = MapPlot(
projection=Projection.MERCATOR,
ra_min=0,
ra_max=24,
dec_min=-40,
dec_max=40,
)

p.marker(
ra=10,
dec=0,
style={
"marker": {
"size": 28,
"symbol": "circle",
"fill": "full",
"color": "#ed7eed",
"edge_color": "#e0c1e0",
"alpha": 0.4,
"zorder": 100,
},
"label": {
"zorder": 200,
"font_size": 12,
"font_weight": "bold",
"font_color": "ed7eed",
"font_alpha": 0.8,
},
},
)
p = MapPlot(projection=Projection.MERCATOR)
p.marker(ra=10, dec=0, style__marker__color="blue")

0 comments on commit d519da2

Please sign in to comment.