Skip to content

Commit c6dfa32

Browse files
committed
"Fix" tight_layout for template backend.
We rely on print_foo actually walking through the Figure tree (which any non-trivial canvas should likely do...).
1 parent 8589fed commit c6dfa32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_template.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def print_foo(self, filename, *args, **kwargs):
208208
to their original values after this call, so you don't need to
209209
save and restore them.
210210
"""
211+
self.draw()
211212

212213
def get_default_filetype(self):
213214
return 'foo'

0 commit comments

Comments
 (0)