Open
Description
- version: brokenaxes 0.5.0
I'm using clip_on=False
when plotting like this:
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
import numpy as np
fig = plt.figure(figsize=(6,4))
baxes = brokenaxes(ylims=((0,30000),(75000,85000)), hspace=.1, despine=False)
X = np.sort(np.array([3,-1,0,4,5,-2,7]))
Y = np.array([80000,10000,5000,3000,1000,500,100])
Z = np.array([800,1000,1200,3000,10000,30000,15000])
baxes.plot(X,Y,label="squared", clip_on=False) # here
baxes.plot(X,Z,label="cubed", clip_on=False) # here
baxes.legend(loc="best")
plt.plot()
plt.show()
And it shows:
But if I set clip_on
to True
(or simply don't pass it), it's normal:
Metadata
Metadata
Assignees
Labels
No labels