Skip to content

Commit d7cfc31

Browse files
authored
Merge pull request #354 from Aikhjarto/master
fixing deprecated function call #353
2 parents ee3075c + 7b55c39 commit d7cfc31

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)