Skip to content

Commit 66c77d7

Browse files
committed
fix mpl warning
1 parent 4acb140 commit 66c77d7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://github.com/nschloe/tikzplotlib"><img alt="tikzplotlib" src="https://nschloe.github.io/tikzplotlib/logo-tikzplotlib.svg" width="60%"></a>
3-
<p align="center">The artist formerly known as _matplotlib2tikz._</p>
3+
<p align="center">The artist formerly known as *matplotlib2tikz.*</p>
44
</p>
55

66
[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/tikzplotlib/master.svg?style=flat-square)](https://circleci.com/gh/nschloe/tikzplotlib/tree/master)

tikzplotlib/_axes.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,18 @@ def _ticks(self, data, obj):
208208
)
209209
self.axis_options.extend(
210210
_get_ticks(
211-
data, "minor x", obj.get_xticks("minor"), obj.get_xticklabels("minor")
211+
data,
212+
"minor x",
213+
obj.get_xticks(minor=True),
214+
obj.get_xticklabels(minor=True),
212215
)
213216
)
214217
self.axis_options.extend(
215218
_get_ticks(
216-
data, "minor y", obj.get_yticks("minor"), obj.get_yticklabels("minor")
219+
data,
220+
"minor y",
221+
obj.get_yticks(minor=True),
222+
obj.get_yticklabels(minor=True),
217223
)
218224
)
219225

0 commit comments

Comments
 (0)