Skip to content

Add matplotlib as a 'docs' dependency#2390

Merged
bsipocz merged 2 commits into
astropy:mainfrom
eerovaher:docs-plots
May 3, 2022
Merged

Add matplotlib as a 'docs' dependency#2390
bsipocz merged 2 commits into
astropy:mainfrom
eerovaher:docs-plots

Conversation

@eerovaher

Copy link
Copy Markdown
Member

The documentation already contains plots, e.g.


matplotlib should therefore be listed as a 'docs' dependency. It does not have to be listed in the 'all' dependencies because it is already included indirectly through aplpy.

The second commit tells Read the Docs to only install 'docs' dependencies because that should be all that is needed for building the documentation.

eerovaher added 2 commits May 3, 2022 14:18
The documentation already contains plots, so `matplotlib` is required
for building it. `matplotlib` does not have to be explicitly listed in
the 'all' dependencies because it is included indirectly through
`aplpy`.
The 'docs' optional dependencies should be all that is required for
building the documentation, so Read the Docs should not be installing
'all' dependencies. [ci skip]
@bsipocz bsipocz added this to the v0.4.7 milestone May 3, 2022
@bsipocz bsipocz merged commit 7231ca1 into astropy:main May 3, 2022
@bsipocz

bsipocz commented May 3, 2022

Copy link
Copy Markdown
Member

Thank you!

@eerovaher eerovaher deleted the docs-plots branch May 9, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants