Make Axes.semilogx and semilogy consistent in handling negative coords #11193
Labels
status: closed as inactive
Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.
status: inactive
Marked by the “Stale” Github Action
topic: axes
Axes.semilogy
has different default behaviour for out-of-bounds coords thanAxes.semilogx
- the former clips them to 0+eps, while in the x-dimension they're masked. The latter is thought to be the correct behavior. IIRCAxes.loglog
is also affected.However, if you trace back to
matplotlib.scale.LogScale
, the defaults there are both'clip'
.This issue was discovered while working on #11137, so it would be nice to make the signatures involved more explicit at the same time as making the behavior consistent.
The text was updated successfully, but these errors were encountered: