# Matplotlib compatibility patch for Pyodide
import matplotlib
if not hasattr(matplotlib.RcParams, "_get"):
matplotlib.RcParams._get = dict.get
References#
To make references to figures, equations et cetera, use the following syntax:
For figures, use:
{numref}`Figure {number} <name of the figure>`For equations, use:
{eq}`<equation label>`For citations, use:
{cite:p}`<bibtex_entry>`for a citation between parenthesis, or{cite:t}`<bibtex_entry>`for an inline citation.
Examples
Using
{numref}`Figure {number} <fig-gitpush>`produces the output: Figure 114.
Fig. 114 Some caption here#
Using
{eq}`<eq:Newton>`to refer to Newton’s second law (3).
(3)#\[ F = m\cdot a \]