matplotlib, ipython and ubuntu

Hi people

I'm trying to use matplotlib, ipython and xubuntu(gusty) all together. Whenever I try to run ipython with -pylab tab, nothing extra happens to the start up screen and pylab hasn't been imported. I have managed to sucessfull install ipython and matplotlib on a Redhat system and ipython -pylab works. ipython and matplotlib work btw

I've tried install from source, apt and easy_install all to to avail

Can anyone suggest what I am doing wrong or an output to post to show more details of what is happening on my machine

Thanks

Andy

Hello,
for me it works:

···

****
timmie@...142...:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
timmie@...142...:~$ ipython -pylab
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.1 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

   Welcome to pylab, a matplotlib-based Python environment.
   For more information, type 'help(pylab)'.
  ****

I would suggest to reinstall the necessary packages.

Kind regards,
Timmie

Hello users,

I wish to repeatedly re-plot labels and contour data on a figure since redrawing the figure is temporally expensive. The attached script (I apologize for its length), hopefully, illustrates a simplified version of what I'm trying to do -- contour temporally-varying data on a map projection.

I do not understand how to erase the plot label each time the figure is to be reused. I also do not know how to erase the contour-fill although, based on the generated PNG files, it does not, for unknown reasons , appear to be necessary. From some postings, it seems that I have to employ collections attributes, but I have not been able to find documentation or examples that illustrate this.

My system:

    * matplotlib.__version__: '0.91.2'
    * sys.version: '2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
      v.1310 32 bit (Intel)]'

Thanks,
-- jv

reuse.py (2.56 KB)

I just migrated from edgy to gutsy this weekend. I did a clean install (boy it really
went smoothly - either I'm getting better or the installs are) and it all works fine
for me. I used Adept Manager to install everything. You installed numpy? I'm running
kubuntu.

···

On Mon, 28 Jan 2008 17:39:45 +0000 Andy Cheesman <Andy.cheesman@...1860...> wrote:

Hi people

I'm trying to use matplotlib, ipython and xubuntu(gusty) all together.
Whenever I try to run ipython with -pylab tab, nothing extra happens to
the start up screen and pylab hasn't been imported. I have managed to
sucessfull install ipython and matplotlib on a Redhat system and ipython
  -pylab works. ipython and matplotlib work btw

I've tried install from source, apt and easy_install all to to avail

Can anyone suggest what I am doing wrong or an output to post to show
more details of what is happening on my machine

Thanks

Andy

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
-----------------------------------------------------------------------

Alan K. Jackson | To see a World in a Grain of Sand |
alan@...895... | And a Heaven in a Wild Flower, |
www.ajackson.org | Hold Infinity in the palm of your hand |
Houston, Texas | And Eternity in an hour. - Blake |

-----------------------------------------------------------------------

The error was due to muppetdom of the highest degree... I've created a bash alias which subsituted ipython with ipython ---options. Subsequent use of ipython -pylab put the -pylab tab at the end and it was quietly ignored

Sorry to waste people time

Andy

j vickroy wrote:

···

Hello users,

I wish to repeatedly re-plot labels and contour data on a figure since redrawing the figure is temporally expensive. The attached script (I apologize for its length), hopefully, illustrates a simplified version of what I'm trying to do -- contour temporally-varying data on a map projection.

I do not understand how to erase the plot label each time the figure is to be reused. I also do not know how to erase the contour-fill although, based on the generated PNG files, it does not, for unknown reasons , appear to be necessary. From some postings, it seems that I have to employ collections attributes, but I have not been able to find documentation or examples that illustrate this.

My system:

   * matplotlib.__version__: '0.91.2'
   * sys.version: '2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC
     v.1310 32 bit (Intel)]'

Thanks,
-- jv
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

matplotlib has some support for the kinds of things you are trying to
do -- eg draw an expensive part of the figure, save it, plot something
on top of it, erase it, restore the original figure, etc. This is
convered in some detail in the animation cookbook recipe. Although
you are not doing animation, the concepts are quite similar in that
both require copying and restoring a background, and updating the
"animated" object.

http://www.scipy.org/Cookbook/Matplotlib/Animations

JDH

···

On Jan 28, 2008 2:06 PM, j vickroy <jim.vickroy@...259...> wrote:

Hello users,

I wish to repeatedly re-plot labels and contour data on a figure since
redrawing the figure is temporally expensive. The attached script (I
apologize for its length), hopefully, illustrates a simplified version
of what I'm trying to do -- contour temporally-varying data on a map
projection.