Skip to content

Commit 694ac57

Browse files
committed
fixing deprecated function call #353
1 parent 4389cf2 commit 694ac57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tikzplotlib/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def _colorbar(self, colorbar, data):
327327
colorbar_styles = []
328328

329329
orientation = colorbar.orientation
330-
limits = colorbar.get_clim()
330+
limits = colorbar.mappable.get_clim()
331331
if orientation == "horizontal":
332332
self.axis_options.append("colorbar horizontal")
333333

0 commit comments

Comments
 (0)