Repository navigation
Fix doc warning - #13743
Fix doc warning#13743
Conversation
3190cf1 to
3c25c56
Compare
| :scale: 50 | ||
|
|
||
| xkcd | ||
|
|
There was a problem hiding this comment.
Fixes
/home/circleci/project/doc/tutorials/introductory/sample_plots.rst:425: WARNING: Explicit markup ends without a blank line; unexpected unindent.
which was caused by the original code translating to .rst as:
.. figure:: ../../gallery/showcase/images/sphx_glr_xkcd_001.png
:target: ../../gallery/showcase/xkcd.html
:align: center
:scale: 50
xkcd
Subplot example
===============
3c25c56 to
3e45fe3
Compare
| y = np.exp(np.sin(x)) | ||
|
|
||
| plt.stem(x, y) | ||
| plt.stem(x, y, use_line_collection=True) |
There was a problem hiding this comment.
Needed to prevent warning
/home/circleci/project/examples/lines_bars_and_markers/stem_plot.py:15: UserWarning: In Matplotlib 3.3 individual lines on a stem plot will be added as a LineCollection instead of individual lines. This significantly improves the performance of a stem plot. To remove this warning and switch to the new behaviour, set the "use_line_collection" keyword argument to True.
|
Waiting for #13745 to fix doc build. |
3e45fe3 to
afd76e6
Compare
|
Rebased. Hopefully doc build is running again correctly now. Pointing to 3.1 as every doc build of 3.1 and above is affected. |
|
Hm, the |
|
Trying powercycling to rerun the docs. Edit: Unfortunately this did not trigger CircleCI. If nobody has an idea how to rerun CircleCI, I propose to merge and see if this is solved when creating future PRs. After all, adding a blank line cannot break too much 😄 . |
|
Merged as just a documentation change... |
…743-on-v3.1.x Backport PR #13743 on branch v3.1.x (Fix doc warning)
PR Summary
This fixes two documentation warnings. See comments to the code.