1

These 2 functions are both from the matplotlib library. I've seen both to have similar functionality and hence wondering on the difference.

Abhi
  • 11
  • 1

1 Answers1

0

Here is a relevant post.

I'm not sure about the specificities of your question, but if you are looking for a more application-based approach, this is a well-documented solution for displaying subfigures, which is one of the primary questions people have regarding plt.show() and fig.show().

jstaxlin
  • 517
  • 4
  • 18
  • This seems like it's more of a comment than an answer (although it could definitely be expanded into a more complete answer). – shadowtalker Jan 21 '22 at 19:57
  • So, `plt.show` would show all plots/figures but `fig.show` is used for showing individual plots? – Abhi Jan 25 '22 at 06:30