Skip to content

Commit a093851

Browse files
authored
Fix little bug
Fixed `DeprecrationWarning: invalid escape sequence \m`
1 parent 4c2848a commit a093851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

probeinterface/plotting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def on_press(event): return _on_press(probe, event)
172172
ax.set_ylim(*ylims)
173173

174174
if probe.si_units == "um":
175-
unit_str = "($\mu m$)"
175+
unit_str = "($\\mu m$)"
176176
else:
177177
unit_str = f"({probe.si_units})"
178178
ax.set_xlabel(f'x {unit_str}', fontsize=15)

0 commit comments

Comments
 (0)