Skip to content

Commit 2be649e

Browse files
committed
cursor label fixed width
1 parent ab53c83 commit 2be649e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/matplotgl/axes.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,12 @@ def __init__(self, *, ax: MplAxes, figure=None) -> None:
135135
)
136136
self._margins["cursor"] = ipw.Label(
137137
"(0.00, 0.00)",
138-
layout={"grid_area": "cursor", "padding": "0", "margin": "0"},
138+
layout={
139+
"grid_area": "cursor",
140+
"padding": "0",
141+
"margin": "0",
142+
"width": "80px",
143+
},
139144
)
140145

141146
if figure is not None:

0 commit comments

Comments
 (0)