8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8328e2c commit 1bbf599Copy full SHA for 1bbf599
lib/matplotlib/axes/_axes.py
@@ -2770,10 +2770,10 @@ def get_next_color():
2770
raise TypeError(
2771
'autopct must be callable or a format string')
2772
2773
- t = self.text(xt, yt, s,
2774
- horizontalalignment='center',
2775
- verticalalignment='center',
2776
- **textprops)
+ props = dict(horizontalalignment='center',
+ verticalalignment='center')
+ props.update(textprops)
+ t = self.text(xt, yt, s, **props)
2777
2778
autotexts.append(t)
2779
0 commit comments