Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Milestone
Description
Summary
Only a subset of attributes set viaAxes.tick_params()
are accessible via public methods and attributes. For example,pad
is accessible viaget_pad()
on aTick
object, but if you want the width you have to access a private member_width
. When building on top of Matplotlib, writing a test can sometimes require accessing these attributes to test the code, but ideally, we wouldn't need to access private members. For theuse case that came up, this isn't a big deal as I was able to switch toget_pad()
for the test, but I was surprised there was noget_width()
method like with other parts of the API.
Proposed fix
No response