We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
plotting.plot_img helpfully forwards kwargs, and in particular bg_img, to plotting.img_plotting._plot_img_with_bg.
plotting.plot_img
bg_img
plotting.img_plotting._plot_img_with_bg
However the docstring says kwargs are passed to pyplot.imshow.
pyplot.imshow
I would suggest exposing important arguments such as vmin, vmax and bg_img explicitly in the function signature.
note that this example:
http://nilearn.github.io/auto_examples/02_decoding/plot_haxby_searchlight.html#sphx-glr-auto-examples-02-decoding-plot-haxby-searchlight-py
uses the bg_img kwarg
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
plotting.plot_img
helpfully forwards kwargs, and in particularbg_img
, toplotting.img_plotting._plot_img_with_bg
.However the docstring says kwargs are passed to
pyplot.imshow
.I would suggest exposing important arguments such as vmin, vmax and bg_img
explicitly in the function signature.
note that this example:
http://nilearn.github.io/auto_examples/02_decoding/plot_haxby_searchlight.html#sphx-glr-auto-examples-02-decoding-plot-haxby-searchlight-py
uses the
bg_img
kwargThe text was updated successfully, but these errors were encountered: