You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an extra label at x=4.0, but (correctly) no tick there:
Probably a rounding issue, e.g. it doesn't appear using xlim(4.005, 8). I understand that some tolerance in floating point comparison is needed, but at least the same should be used for both ticks and labels (i.e. I wouldn't necessarily consider it a bug if both a tick and a label appeared when the lower xlim is e.g. 4+1e-10).
Some rough notes as we go through: See axis.py:253 for where we determine if things appear or not. I suspect we just need to put the label drawing inside of the if midPoint block as well.
Activity
mdboom commentedon Jan 25, 2016
Some rough notes as we go through: See axis.py:253 for where we determine if things appear or not. I suspect we just need to put the label drawing inside of the
if midPointblock as well.anntzer commentedon Jan 25, 2016
Your solution seems to work.
tacaswell commentedon Feb 1, 2016
Did a PR for this fix ever get created?
FIX: only draw tick labels if tick is in range
FIX: only draw tick labels if tick is in range