Image full screen

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>

Hi.
Here is an update.
To remove window title and go into full screen mode, one can use:

figManager = plt.get_current_fig_manager()
figManager.full_screen_toggle()

But I still cannot figure out how to remove a field where cursor coordinates
are shown.

Any suggestions?
Thanks
Petro

···

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Image-full-screen-tp47276p47290.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Hi Petro,

I succeeded in removing the bottom field where cursor coordinates are
displayed by using:
# fig = plt.gcf()
fig.canvas.window().statusBar().setVisible(False)

Hopefully it was what you were looking for.

Adrien

···

On 12/07/2016 15:35, Petro wrote:

Hi.
Here is an update.
To remove window title and go into full screen mode, one can use:

figManager = plt.get_current_fig_manager()
figManager.full_screen_toggle()

But I still cannot figure out how to remove a field where cursor coordinates
are shown.

Any suggestions?
Thanks
Petro

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Image-full-screen-tp47276p47290.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Thanks Adrien,

This is exactly what I wanted.

···

On 07/12/2016 06:33 PM, vincent.adrien at gmail.com [via matplotlib] wrote:

Hi Petro,

I succeeded in removing the bottom field where cursor coordinates are
displayed by using:
# fig = plt.gcf()
fig.canvas.window().statusBar().setVisible(False)

Hopefully it was what you were looking for.

Adrien

On 12/07/2016 15:35, Petro wrote:

> Hi.
> Here is an update.
> To remove window title and go into full screen mode, one can use:
>
> figManager = plt.get_current_fig_manager()
> figManager.full_screen_toggle()
>
> But I still cannot figure out how to remove a field where cursor
coordinates
> are shown.
>
> Any suggestions?
> Thanks
> Petro
>
>
>
> --
> View this message in context:
http://matplotlib.1069221.n5.nabble.com/Image-full-screen-tp47276p47290.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>

_______________________________________________
Matplotlib-users mailing list
[hidden email] </user/SendEmail.jtp?type=node&node=47291&i=0>
https://mail.python.org/mailman/listinfo/matplotlib-users

------------------------------------------------------------------------
If you reply to this email, your message will be added to the
discussion below:
http://matplotlib.1069221.n5.nabble.com/Image-full-screen-tp47276p47291.html

To unsubscribe from Image full screen, click here
<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=47276&code=eC5waXRlckBnbWFpbC5jb218NDcyNzZ8LTg1NjQwMjQwNw==>.
NAML
<http://matplotlib.1069221.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html!nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers!nabble%3Aemail.naml-instant_emails!nabble%3Aemail.naml-send_instant_email!nabble%3Aemail.naml>

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Image-full-screen-tp47276p47307.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160717/38c5fd25/attachment.html>