Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass options of stock_img to imshow #2230

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

smartlixx
Copy link
Contributor

@smartlixx smartlixx commented Aug 6, 2023

Rationale

This will solve the problem raised by #2179

Implications

stock_img can accept more options, which will be dealt with by self.imshow.

Closes #2179

@dopplershift dopplershift added this to the Next Release milestone Aug 7, 2023
the Natural Earth shaded relief raster.
Currently, the only (and default) option for image is a downsampled
version of the Natural Earth shaded relief raster. Other options
(e.g., alpha) will be passed to func:`self.imshow`.
Copy link
Contributor

@greglucas greglucas Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(e.g., alpha) will be passed to func:`self.imshow`.
(e.g., alpha) will be passed to :func:`self.imshow`.

I think you need an extra colon in front of function to get that rendered properly by sphinx.

Edit: maybe even specifying Geoaxes rather than self ~.GeoAxes.imshow, or something like that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I have made the corresponding changes.

@greglucas greglucas merged commit dde6325 into SciTools:main Aug 22, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plea for a stock_img() alpha
3 participants