File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 708708 \begin {myboxed }{Quick reminder}
709709 {\ttfamily
710710 ax.\textbf {grid }()\\
711- ax.patch.\textbf {set\_ alpha }(0)\\
712711 ax.\textbf {set\_ [xy]lim }(vmin, vmax)\\
713712 ax.\textbf {set\_ [xy]label }(label)\\
714713 ax.\textbf {set\_ [xy]ticks }(list)\\
715714 ax.\textbf {set\_ [xy]ticklabels }(list)\\
716- ax.\textbf {set\_ [sup]title }(title)\\
715+ ax.\textbf {set\_ title }(title)\\
717716 ax.\textbf {tick\_ params }(width=10, …)\\
718717 ax.\textbf {set\_ axis\_ [on|off] }()\\
719718 \\
719+ fig.\textbf {suptitle }(title)\\
720720 fig.\textbf {tight\_ layout }()\\
721721 plt.\textbf {gcf }(), plt.\textbf {gca }()\\
722722 mpl.\textbf {rc }('axes', linewidth=1, …)\\
723- fig.patch.\textbf {set\_ alpha }(0)\\
723+ {[ fig|ax]} .patch.\textbf {set\_ alpha }(0)\\
724724 \verb |text=r'$\frac{-e^{i\pi}}{2^n}$' |}
725725 \end {myboxed }
726726 %
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ \subsection*{\rmfamily Offline rendering}
114114\ begin{lstlisting}
115115 from matplotlib.backends.backend_agg import FigureCanvas
116116 canvas = FigureCanvas(Figure()))
117- ... # draw som stuff
117+ ... # draw some stuff
118118 canvas.draw()
119119 Z = np.array(canvas.renderer.buffer_rgba())
120120\end {lstlisting }
You can’t perform that action at this time.
0 commit comments