diff --git a/lib/matplotlib/backends/backend_wx.py b/lib/matplotlib/backends/backend_wx.py index f83a69d8361e..c8b0fc03f608 100644 --- a/lib/matplotlib/backends/backend_wx.py +++ b/lib/matplotlib/backends/backend_wx.py @@ -1076,7 +1076,7 @@ def __init__(self, canvas, coordinates=True, *, style=wx.TB_BOTTOM): self._coordinates = coordinates if self._coordinates: self.AddStretchableSpace() - self._label_text = wx.StaticText(self, style=wx.ALIGN_RIGHT) + self._label_text = wx.StaticText(self, size=(120,-1), style=wx.ALIGN_RIGHT) self.AddControl(self._label_text) self.Realize()