Thanks to visit codestin.com
Credit goes to github.com

Skip to content

figimage does not work when the output format is pdf. #8791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
szsdk opened this issue Jun 23, 2017 · 1 comment
Closed

figimage does not work when the output format is pdf. #8791

szsdk opened this issue Jun 23, 2017 · 1 comment

Comments

@szsdk
Copy link

szsdk commented Jun 23, 2017

Bug report

figimage does not plot image expected when the output file is pdf.

Code for reproduction

import matplotlib.pylab as plt
import numpy as np

fig = plt.figure()
img = np.random.rand(50,50)
fig.figimage(img, 20, 20)
plt.savefig('test.png')
plt.savefig('test.pdf')

Matplotlib version

  • Operating System: Ubuntu 16.04
  • Matplotlib Version: 2.0.2
  • Python Version: 3.6.1
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Jun 23, 2017
@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.1 (next point release) Aug 31, 2017
@jklymak
Copy link
Member

jklymak commented Sep 25, 2017

Closed by #9204

@jklymak jklymak closed this as completed Sep 25, 2017
@QuLogic QuLogic modified the milestones: 2.1.1 (next bug fix release), 2.1 (next point release) Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants