-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
Hello!
I think there is a problem with matplotlib annotation_clip value while using it to place a comment outside the main plot area. Surprisingly, but it works in jupyter notebook.
Matplotlib version: 1.5.1
Platform: Linux
Backend: Qt, TkAgg
Installed using: pip
To help us understand and resolve your issue please check that you have provided
the information below.
Minimal working example:
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
x = np.arange(0,1,0.001)
y = 0.5*np.sin(x) + np.cos(x)**2
ax.plot(x,y)
ax.annotate('Test annotation', xy=(1.5, 1.5), xycoords='data', annotation_clip=False)
plt.show()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels