Skip to content

Commit 3517cb5

Browse files
authored
Map Plots - use limiting mag (#32)
* use limiting mag * limit mag
1 parent f25eacd commit 3517cb5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/starplot/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Star charts and maps"""
22

3-
__version__ = "0.3.3"
3+
__version__ = "0.3.4"
44

55
from .base import StarPlot # noqa: F401
66
from .zenith import ZenithPlot # noqa: F401

src/starplot/map.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def _plot_milky_way(self):
194194
)
195195

196196
def _plot_stars(self):
197-
stardata = stars.load()
197+
stardata = stars.load(self.limiting_magnitude)
198198
eph = load(self.ephemeris)
199199
earth = eph["earth"]
200200
nearby_stars_df = stardata[

tests/test_map.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def map_plot_stereo_north():
3838
ra_max=20,
3939
dec_min=30,
4040
dec_max=55,
41-
limiting_magnitude=12.0,
41+
limiting_magnitude=8.0,
4242
style=styles.MAP_BLUE_LIGHT,
4343
resolution=2000,
4444
)

0 commit comments

Comments
 (0)