Skip to content

Commit 4fb84b4

Browse files
authored
Merge pull request #18765 from anntzer/tickpriv
Remove some unused tick private attributes.
2 parents cf83ec4 + 520d9ba commit 4fb84b4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/matplotlib/axis.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -387,18 +387,10 @@ def _apply_params(self, **kw):
387387
if k in ['labelsize', 'labelcolor']}
388388
self.label1.set(**label_kw)
389389
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)
396390

397391
grid_kw = {k[5:]: v for k, v in kw.items()
398392
if k in _gridline_param_names}
399393
self.gridline.set(**grid_kw)
400-
for k, v in grid_kw.items():
401-
setattr(self, '_grid_' + k, v)
402394

403395
def update_position(self, loc):
404396
"""Set the location of tick in data coords with scalar *loc*."""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy