matplotlib.figure.Figure — Matplotlib 3.3.4 documentation
matplotlib.org › matplotlibJan 28, 2021 · Dict with keywords passed to the Figure.add_subplot call used to create each subplot. gridspec_kw dict, optional. Dict with keywords passed to the GridSpec constructor used to create the grid the subplots are placed on. Returns: Axes or array of Axes. Either a single Axes object or an array of Axes objects if more than one subplot was created.
Matplotlib add_gridspec not recognized in VS Code after ...
github.com › Microsoft › vscodeDec 17, 2018 · fig = plt.figure() gs = fig.add_gridspec(2,2) Actual Result: AttributeError: 'Figure' object has no attribute 'add_gridspec' Expected Result: Gridspec added to figure. This started occuring after two uninstall/reinstall cycles of Anaconda 3.5.1 with the VS Code Extension. Not sure if this is in import issue, or a conda, Anaconda or VS Code bug.