Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec15c1f

Browse files
authored
Merge pull request #22633 from Carreau/space-directive
DOC: remove space in directive.
2 parents beba0de + f1704c1 commit ec15c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/users/prev_whats_new/whats_new_1.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ that the draw command is deferred and only called once.
3636
The upshot of this is that for interactive backends (including
3737
``%matplotlib notebook``) in interactive mode (with ``plt.ion()``)
3838

39-
.. code-block :: python
39+
.. code-block:: python
4040
4141
import matplotlib.pyplot as plt
4242
fig, ax = plt.subplots()

lib/matplotlib/layout_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class LayoutEngine:
3434
layout engine ``execute`` function is called at draw time by
3535
`~.figure.Figure.draw`, providing a special draw-time hook.
3636
37-
.. note ::
37+
.. note::
3838
3939
However, note that layout engines affect the creation of colorbars, so
4040
`~.figure.Figure.set_layout_engine` should be called before any

0 commit comments

Comments
 (0)