Skip to content

Commit 513544c

Browse files
authored
Update new-matplotlib-intro.rst
1 parent 40171ed commit 513544c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/day3/new-matplotlib-intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ The outputs look the same for both of these examples because the plot type was c
354354

355355

356356
.. admonition:: Subplots and Subplot Mosaics
357-
:collapsible: open
357+
:class: dropdown
358358

359359
A prime example of a feature only available through the explicit API is subplots, which support and format 2 or more separate sets of axes on the same figure. The `Matplotlib documentation on subplots and subplot mosaics <https://matplotlib.org/stable/users/explain/axes/arranging_axes.html>`__ is extensive and fairly straightforward, so this topic will not be covered in depth here. The table below summarizes all the available subplot creation methods that you may see and their capabilities so you can compare them:
360360

@@ -374,7 +374,7 @@ The outputs look the same for both of these examples because the plot type was c
374374

375375

376376
.. admonition:: Mathtext and String Insertion (Not covered by Matplotlib documentation)
377-
:collapsible:
377+
:class: dropdown
378378

379379
Most journals expect that you typeset all variables and math scripts so they appear the same in your plots as in your main text, whether those symbols appear in the `axes labels, function labels, plot titles, or annotations. <https://matplotlib.org/stable/users/explain/text/text_intro.html>`__ Matplotlib now `supports most LaTeX math commands, <https://matplotlib.org/stable/users/explain/text/mathtext.html#mathtext>`__ but you need to know some basic LaTeX syntax, some of which is covered in that link. For more information, you can refer to `the WikiBooks documentation on LaTeX math <https://en.wikibooks.org/wiki/LaTeX/Mathematics>`__, starting with the Symbols section.
380380

0 commit comments

Comments
 (0)