Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GUI backend MATPLOTLIB in Sage

Dear all,

Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

I can only save my plotting in forms : png, pdf, etc..


for example:

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show()
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png')

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

I can only save my plotting in forms : png, pdf, etc..


for example:

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show()
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png')

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the file "matplotlib.figure.Figure" from namespace of Sagemath to IPython?


Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

I can only save my plotting in forms : png, pdf, etc..


for example:

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show()
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png')

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export export the file "matplotlib.figure.Figure" from namespace of Sagemath to IPython?

data (a object) <matplotlib.figure.figure at="" ...&gt;="" from="" namespace="" of="" sagemath="" to="" ipython?="" can="" the="" data="" be="" saved="" in="" a="" format="" (<strong="">not png, pdf, etc.) that can be opened in IPython using the function show()?


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) <matplotlib.figure.figure at="" ...&gt;="" from="" namespace="" of="" sagemath="" to="" ipython?="" can="" the="" data="" be="" saved="" in="" a="" format="" (<strong="">not 'matplotlib.figure.Figure' at 'somewhere in the memory' from namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) 'matplotlib.figure.Figure' at 'somewhere in the memory' from the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a Question


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a related Question.


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a related Question.


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

I guess Sagemath could not call that kind of GUI backend right now.

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a related Question.


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a related Question.. I have followed this instruction step by step, every step was successfully executed without any error report/message. However I couldn't invoke TkAgg as Backend of Sagemath nor IPython.


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!

click to hide/show revision 11
retagged

GUI backend MATPLOTLIB in Sage

Dear all,

  • UPDATED:

How can one export the data (a object) 'matplotlib.figure.Figure' the namespace of Sagemath to IPython? Can the data be saved in a format (not png, pdf, etc.) that can be opened in IPython using the function show()?

Here is a related Question. I have followed this instruction step by step, every step was successfully executed without any error report/message. However I couldn't invoke TkAgg as Backend of Sagemath nor IPython.


Has SAGE a GUI back-end as MATPLOTLIB, on which one can zoom, select points etc.?

for example,

    sage: bodes['entire']
    <matplotlib.figure.Figure at 0x91ac950>
    sage: bodes['entire'].show() 
    # It doesn't work and a Warning occurs. 
    /opt/sagemath/sage-6.1.1-x86_64-Linux/local/lib/python2.7/
    site-packages/matplotlib/figure.py:362: UserWarning: matplotlib is 
    currently using a non-GUI backend, so cannot show the figure 
    "matplotlib is currently using a non-GUI backend, "
    sage: f = bodes['entire']
    sage: f.savefig('./figures/entire.png') 
    # I can only save my plotting in formats : png, pdf, etc..

Thank you all in advance!