Skip to content

Commit 6546ff2

Browse files
committed
Remove AXIS ticks and labels
1 parent 455423c commit 6546ff2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py-polars/polars/_utils/various.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,9 +697,10 @@ def display_dot_graph(
697697
import matplotlib.image as mpimg
698698
import matplotlib.pyplot as plt
699699

700-
plt.figure(figsize=figsize)
700+
fig = plt.figure(figsize=figsize)
701701
img = mpimg.imread(BytesIO(graph))
702702
plt.imshow(img)
703+
fig.gca().set(xticks=[], yticks=[])
703704
plt.show()
704705
return None
705706

0 commit comments

Comments
 (0)