From f30358b6ce601631a36442d8b97aba56b734d77c Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sat, 2 Jan 2021 11:43:39 +0000 Subject: [PATCH] Request an autoscale at the end of ax.pie() --- lib/matplotlib/axes/_axes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index ead143489a3b..4dab1536cb17 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -3146,7 +3146,9 @@ def get_next_color(): theta1 = theta2 - if not frame: + if frame: + self._request_autoscale_view() + else: self.set(frame_on=False, xticks=[], yticks=[], xlim=(-1.25 + center[0], 1.25 + center[0]), ylim=(-1.25 + center[1], 1.25 + center[1])) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy