About 5,460,000 results
Open links in new tab
  1. python - Get the list of figures in matplotlib - Stack Overflow

    Sep 24, 2010 · Pyplot has get_fignums method that returns a list of figure numbers. This should do what you want: plt.figure(i) plt.savefig('figure%d.png' % i) There is also now a …

  2. python - Show only selected or specific matplotlib figures - Stack Overflow

    Jul 6, 2015 · If you are in interactive mode, you can show individual plots using the show method of the individual figures (e.g. fig2.show()), as long as you've made the figures using plt.figure, …

  3. How do you get the current figure number in Python's matplotlib?

    Feb 19, 2017 · Use the get_label() method (docs) on the figure object. This returns empty string if the figure num is int or unset. I'm playing around with an example script that shows how to …

  4. Introduction to Figures — Matplotlib 3.10.1 documentation

    We will discuss how to create Figures in more detail below, but first it is helpful to understand how to view a Figure. This varies based on how you are using Matplotlib, and what Backend you …

  5. Retrieving the List of Figures in Matplotlib in Python 3

    Retrieving the list of figures in Matplotlib is a straightforward task that can be accomplished using the get_fignums() function provided by the pyplot module. By understanding how to create …

  6. Creating, viewing, and saving Matplotlib Figures

    We will discuss how to create Figures in more detail below, but first it is helpful to understand how to view a Figure. This varies based on how you are using Matplotlib, and what Backend you …

  7. Pyplot tutorial — Matplotlib 3.10.1 documentation

    matplotlib.pyplot is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a …

  8. matplotlib.pyplot.figure() in Python | GeeksforGeeks

    Feb 3, 2023 · The figure() function in pyplot module of matplotlib library is used to create a new figure. Syntax: matplotlib.pyplot.figure(num=None, figsize=None, dpi=None, facecolor=None, …

  9. Get the List of Figures in Matplotlib - Online Tutorials Library

    Apr 9, 2021 · To get the list of figures in matplotlib, we can take the following steps −. Using figure() method, create a new figure, or activate an existing figure. Creating x figures, i.e., x=3. …

  10. Matplotlib.figure.Figure.show() in Python - GeeksforGeeks

    May 3, 2020 · The show () method figure module of matplotlib library is used to display the figure window. Syntax: show (self, warn=True) Parameters: This method accept the following …

Refresh