Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Bug summary
Useimshow
to generate a figure, and then save it as apdf
file. If you open the generated pdf figure in Adobe Illustrator, the figure in Adobe Illustrator becomes different. Colors are wrongly assigned.
Code for reproduction
importnumpyasnpimportmatplotlib.pyplotaspltimportmatplotlibprint(matplotlib.__version__)a=np.array([[1,2,3], [4,5,6]])plt.matshow(a)plt.savefig(‘test.pdf’)
Actual outcome
Expected outcome
Additional information
No response
Operating system
No response
Matplotlib Version
3.8.3
Matplotlib Backend
module://matplotlib_inline.backend_inline
Python version
3.10.13
Jupyter version
7.0.8
Installation
conda