Skip to content

Commit b9692ad

Browse files
tacaswelloscargus
andauthored
DOC: raw string is too blunt an instrument
We need the \n un-escaped Co-authored-by: Oscar Gustafsson <[email protected]>
1 parent a89b973 commit b9692ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/users/prev_whats_new/whats_new_3.3.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ set with the new rcParameter :rc:`axes.titley`.
373373
.. plot::
374374

375375
fig, axs = plt.subplots(1, 2, constrained_layout=True, figsize=(5, 2))
376-
axs[0].set_title(r'y=0.7\n$\sum_{j_n} x_j$', y=0.7)
377-
axs[1].set_title(r'y=None\n$\sum_{j_n} x_j$')
376+
axs[0].set_title('y=0.7\n$\\sum_{j_n} x_j$', y=0.7)
377+
axs[1].set_title('y=None\n$\\sum_{j_n} x_j$')
378378
plt.show()
379379

380380
Offset text is now set to the top when using ``axis.tick_top()``

0 commit comments

Comments
 (0)