Skip to main content
https://raw.githubusercontent.com/henrysky/milkyway_plot/master/mw-plot-logo-b.png

PyPI - Version Documentation Status GitHub License GitHub Actions Workflow Status Codecov

Getting Started

mw-plot is a handy Python package for plotting face-on and all-sky maps of the Milky Way using matplotlib (https://matplotlib.org/) for static plots and bokeh (https://bokeh.org/) for interactive plots.

You can set the center and radius of the plot anywhere on a milkyway galaxy image with galactic or galactocentric coordinates.

Detailed documentation is available at https://milkyway-plot.readthedocs.io/

No acknowledgement to mw_plot is required if you generate plots for your non-commerical publication, but you must acknowledgement the origin of the background images. The relevant reference text can by obtained by the property citation of a mw_plot class instance.

For example, to get the citation text for the background image of a face-on Milky Way plot:

>>> from mw_plot import MWFaceOn
>>> mw = MWFaceOn()
>>> mw.citation
'NASA/JPL-Caltech/R. Hurt (SSC/Caltech)'

or for the background infrared image of an all-sky Milky Way plot:

>>> from mw_plot import MWSkyMap
>>> mw = MWSkyMap()
>>> mw.citation
'ESA/Gaia/DPAC'

Author

  • Henry Leung - henrysky
    Department of Astronomy & Astrophysics, University of Toronto
    Contact Henry: henrysky.leung [at] utoronto.ca

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for mw-plot 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mw-plot 0.13.1
File Size Uploaded
mw_plot-0.13.1.tar.gz 38.4 MB Details

Release files / mw_plot-0.13.1.tar.gz

Download URL mw_plot-0.13.1.tar.gz
Size 38.4 MB
Tags Source
SHA-256 checksum
How to use checksums
865b0f045d5d2ee02cf881bdc6000428b9a81c0f429bf66f341eb2a04715a860
BLAKE2b-256 checksum
How to use checksums
058ca1fedb427ab2a7b8c2393792d24222d163237ec82d5c7566b618d1b4f402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.13.1 This release

1 release file

0.13.0

1 release file

0.12.0

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.3

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page