Skip to content Skip to sidebar Skip to footer

Matplotlib's "symlog" Option: How To Prevent Curves That "come Back"?

I'm plotting data which extent, in x, from -1000 to 1000. But I'm only interested in the values between x = -1 and 0. I also want to plot on an x log scale. But since the x-values

Solution 1:

This was actually a bug in matplotlib.

See https://github.com/matplotlib/matplotlib/issues/396

It is now fixed. I'm attaching a picture showing the correct result of the previous snippet. Correct result

Post a Comment for "Matplotlib's "symlog" Option: How To Prevent Curves That "come Back"?"