Roots and Exponents: Square root: `\sqrt{x}`, Exponent: `x^2`, Subscript: `x_1`, Superscript: `x^i` Other Notations Fractions: `\frac{numerator}{denominator}` Matrices: `bmatrix`, `pmatrix`, `vmatrix`, etc., using the `amsmath` package Special Symbols: For example, `\infty` fo...
plot(x, y, 'o-', label='Data') # Annotating a point with a subscript and a superscript plt.annotate(r'$\mathrm{Point}_{\mathrm{max}}^{(4, 10)}$', xy=(x[y.index(max(y))], max(y)), xytext=(3, 8), arrowprops=dict(facecolor='black', arrowstyle='->'), fontsize=12,...
to control tick and tick label appearance after an Axes has been created. - EF2010-06-09 Allow Axes.grid to control minor gridlines; allow Axes.grid and Axis.grid to control major and minor gridlines in the same method call. - EF2010-06-06 Change the way we do split/dividend adjustme...