[Matplotlib-users] Image full screen

Piter_ x.piter at gmail.com
Fri Jul 8 04:41:38 EDT 2016


Hi list.

I wander if it is possible to show a full screen image using matplotlib?
Only image without axis axis, window frame  and so on....
------
from numpy import random
import matplotlib.pyplot as plt
import matplotlib as mpl
mpl.rcParams['toolbar'] = 'None'
plt.ion()
fig = figure()
data = random.random((600,800))
img = plt.imshow(data, interpolation='nearest')
img.set_cmap('hot')
plt.axis('off')
plt.tight_layout()
plt.subplots_adjust(left=0, right=1, top=1, bottom=0)
figManager = plt.get_current_fig_manager()
figManager.window.showMaximized()

--------
This part kind of works.
There are only two problems.
1 I have to hit f button (full screen) to remove window title,
2 There still  a gray part on the bottom, where mouse XY coordinates are
usually shown.
Any recommendations how to get rid of those?
Thank you
Petro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160708/3bb27e61/attachment.html>


More information about the Matplotlib-users mailing list