Answers for "plt save jpg jupyter notebook"

1

show jpg in jupyter notebook

from IPython.display import Image, display

listOfImageNames = ['/path/to/images/1.png',
                    '/path/to/images/2.png']

for imageName in listOfImageNames:
    display(Image(filename=imageName))
Posted by: Guest on January-24-2021
0

save image from jupyter notebook

fig.tight_layout()
plt.savefig('output.png', dpi=300)
Posted by: Guest on July-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language