Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf83ec4 + 520d9ba commit 4fb84b4Copy full SHA for 4fb84b4
lib/matplotlib/axis.py
@@ -387,18 +387,10 @@ def _apply_params(self, **kw):
387
if k in ['labelsize', 'labelcolor']}
388
self.label1.set(**label_kw)
389
self.label2.set(**label_kw)
390
- for k, v in label_kw.items():
391
- # for labelsize the text objects covert str ('small')
392
- # -> points. grab the integer from the `Text` object
393
- # instead of saving the string representation
394
- v = getattr(self.label1, 'get_' + k)()
395
- setattr(self, '_label' + k, v)
396
397
grid_kw = {k[5:]: v for k, v in kw.items()
398
if k in _gridline_param_names}
399
self.gridline.set(**grid_kw)
400
- for k, v in grid_kw.items():
401
- setattr(self, '_grid_' + k, v)
402
403
def update_position(self, loc):
404
"""Set the location of tick in data coords with scalar *loc*."""
0 commit comments