2

I am working with a matplotlib-based routine that returns a figure and, as separate objects, the axes that it contains. Is there any way, that I can display these things and edit them (annotate, change some font sizes, things like that)? "fig.show()" doesn't work, just returns an error. Thanks.

bob.sacamento
  • 6,283
  • 10
  • 56
  • 115

1 Answers1

0

Figures need a canvas to draw on.

Try fig.draw()

Naib
  • 999
  • 7
  • 20