Re: [Matplotlib-users] Fwd: install from svn on Linux not working for me

2010-04-19 Thread Mauro Cavalcanti
As I posted before, I ran across precisely these same errors when upgrading my Ubuntu box and the Python interpreter. You will need to install other dependencies as the installation log shows (gtk-2.0+, pygtk), including its development versions. And yes, distributing a packaged Python

Re: [Matplotlib-users] Fwd: install from svn on Linux not working for me

2010-04-19 Thread Mauro Cavalcanti
2010/4/19 C M cmpyt...@gmail.com: And yes, distributing a packaged Python application which uses Matplotlib (either for Linux or Windows) is *not* an easy and simple matter. But with patience, it is possible. On Windows I've found it is close to  easy once you know to include the matplotlib

[Matplotlib-users] Problem with Basemap and Python 2.6 under Windows XP

2010-04-19 Thread Mauro Cavalcanti
Dear Jeff and ALL, I have recently installed Python 2.6.5 (the official version downloaded from python.org) on a Windows XP machine (running Win XP Professional Edition with Service Pack 2), after removing the previous version of the interpreter (Python 2.5) and all associated libraries

[Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Mauro Cavalcanti
Dear ALL, Long time no see Well, I have recently upgraded from Ubuntu Intrepid to Jaunty (sure, I know that I'm a couple of versions delayed, but keeping a working system stable is essential). I did not a fresh install of Ubuntu, just upgraded using the system's facility for that. Previously

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Mauro Cavalcanti
? With best regards, 2010/4/1 Darren Dale dsdal...@gmail.com: On Thu, Apr 1, 2010 at 7:53 AM, Mauro Cavalcanti mauro...@gmail.com wrote: Dear ALL, Long time no see Well, I have recently upgraded from Ubuntu Intrepid to Jaunty (sure, I know that I'm a couple of versions delayed, but keeping

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6 - SOLVED

2010-04-01 Thread Mauro Cavalcanti
Dear ALL, I finally solved the problems with displying graphics in Matplotib with Python 2.6 under Ubuntu Jaunty. It just turned out that, when upgrading from Intrepid to Jaunty, several required development packages were removed from the system. I just discovered that when trying to build and

[Matplotlib-users] Where to put MPL/Basemap data files?

2009-07-07 Thread Mauro Cavalcanti
Dear Jeff ALL, In trying to freeze my app using bb-freeze (http://pypi.python.org/pypi/bbfreeze/), I stumbled upon a problem: the app is correctly freezed, but it then looks for the Basemap datafiles and since cannot find them, fails to start (with a message complaining that the above mentioned

Re: [Matplotlib-users] Where to put MPL/Basemap data files?

2009-07-07 Thread Mauro Cavalcanti
for the data in a specific directory? Best regards, 2009/7/7 Jeff Whitaker jsw...@fastmail.fm: Mauro Cavalcanti wrote: Dear Jeff ALL, In trying to freeze my app using bb-freeze (http://pypi.python.org/pypi/bbfreeze/), I stumbled upon a problem: the app is correctly freezed, but it then looks

[Matplotlib-users] Fwd: Croizat on Mac OS X

2009-01-21 Thread Mauro Cavalcanti
Dear ALL, I received a report of a Mac OS X user who attempted to run my recently released biodiversity mapping software based on MPL/Basemap and wxPython. As I have no access to an Apple Macintosh machine nor have much experience with that OS anyway, I am posting the error report here in the

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-14 Thread Mauro Cavalcanti
Dear Richard, 2009/1/14 Richard Johns soylen...@tbaytel.net: The full edition of Python(x,y) 2.1.9 contains all of the software you mentioned(PIL, matplotlib, IPython, Enthought Tool Suite) while any of these missing from the basic and light editions can be added as plugins. Enthought Python

[Matplotlib-users] An application of Matplotlib/Basemap and wxPython to quantitative biogeography

2009-01-14 Thread Mauro Cavalcanti
Dear ALL, I am proud to announce that Croizat, a software for quantitative analysis in biogeography, is finally ready for public release! Croizat is available for free under the GNU General Public License, version 3.0. The software is written in Python, using the Matplotlib library with its

Re: [Matplotlib-users] Using matplotlib/basemap interactively

2009-01-14 Thread Mauro Cavalcanti
Dear Jon, This is exactly what my just released MPL/Basemap/wxPython application for drawing biogeographic maps does! Get it (with source code under GNU GPL) form http://panbiog.infobio.net/croizat Hope it helps! Best regards, 2009/1/14 Jon Blower j.d.blo...@reading.ac.uk: Hi all, I'd like

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Mauro Cavalcanti
: On Mon, Jan 12, 2009 at 19:52, Mauro Cavalcanti mauro...@gmail.com wrote: I must say I feel truly honoured. I never expected my humble complaint would merit the attention of one of the Debian maintainters! eheh, well, we are not some sort of gods or what: we talk to mortals now :D I will follow

Re: [Matplotlib-users] Error importing Python Imaging Library (PIL)

2009-01-13 Thread Mauro Cavalcanti
Dear Dr. Blower, I would by all means suggest the Enthought Python Distribution (http://www.enthought.com/) in place of Python(x,y). EPD already includes PIL, MPL and Basemap (although in a somewhat abridged and outdated version, but this is just a matter of upgrading). Hope this helps. Best

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Mauro Cavalcanti
Dear Sandro, After sending you the previous message, I just decided to try one little thing: I used easy_install -U matplotlib and then the latest version (0.98.5.2) was correctly retrieved from the SF repository and properly installed (before followed the instructions you provided yesterday,

[Matplotlib-users] Latest release of Basemap

2009-01-13 Thread Mauro Cavalcanti
Dear Jeff, Sorry for posting this again, but I suppose my previous message may have got lost among many others. I would like to ask you if there are plans to release, as a regular MS-Windows self-installation file, the lastest version of Basemap (0.99.3). It happens that my biogeographic

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Mauro Cavalcanti
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar

Re: [Matplotlib-users] Newbie question/closing a figure-window

2009-01-13 Thread Mauro Cavalcanti
Gentlemen, I would recommend, in turn, Enthought Python (http://www.enthought.com), which also includes IPyhton, Matplotlib and many other useful libraries (eg. PIL) not included in Python(x,y). Hope this helps. Best regards, 2009/1/13 Richard Johns soylen...@tbaytel.net: I have had similar

Re: [Matplotlib-users] Getting rid of parallels and meridians

2009-01-12 Thread Mauro Cavalcanti
version. Anyway, the online documentation for Basemap already indicates that the current version is 0.99.3 (but the .exe files in the SF repository are still from version 0.99.2). With warmest regards, 2009/1/10 Jeff Whitaker jsw...@fastmail.fm: Mauro Cavalcanti wrote: Dear Jeff ALL, How can I

[Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
Dear ALL, I just found the following error when trying to run a very simple test MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen when not importing MPL pyplot (for example, in a wxPython embedded app). Traceback (most recent call last): File

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
: On Mon, Jan 12, 2009 at 7:44 AM, Mauro Cavalcanti mauro...@gmail.com wrote: Dear ALL, I just found the following error when trying to run a very simple test MPL/Basemap script under Ubuntu Linux Intrepid. This does *not* happen when not importing MPL pyplot (for example, in a wxPython embedded

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Mauro Cavalcanti
for the latest version of Matplotlib? This will be great! I will report the results to you (and the Matplotlib-users lists) as soon as possible. With warmest regards, 2009/1/12 Sandro Tosi mo...@debian.org: Hello Mauro, (thanks John to highlight me:) ) On Mon, Jan 12, 2009 at 17:50, Mauro Cavalcanti

[Matplotlib-users] Getting rid of parallels and meridians

2009-01-10 Thread Mauro Cavalcanti
Dear Jeff ALL, How can I get rid, programmatically, of lines drawn with the drawparallels and drawmeridians in MPL/Basemap? These methods return dictionaries, but calling the Python clear() method for dictionaries (and redrawing the figure as usual, of course) does not work. No error appears,

[Matplotlib-users] An issue with Basemap high resolution under Windows

2009-01-07 Thread Mauro Cavalcanti
Dear Jeff ALL, A user just reported to me that he has found a problem when tryng to create a map using the high resolution option under MS-Windows. He is running Basemap version 0.99.1 with Python 2.5 (from the Enthought Python Distribution) and got the following error: IOError: Unable to open

Re: [Matplotlib-users] An issue with Basemap high resolution under Windows

2009-01-07 Thread Mauro Cavalcanti
Dear Jeff, Thanks. I advised the user to download the latest version of Basemap from the SF site and perfom an upgrade. Hope this may fix the problem. Best regards, 2009/1/7 Jeff Whitaker jsw...@fastmail.fm: Mauro Cavalcanti wrote: Dear Jeff ALL, A user just reported to me that he has

[Matplotlib-users] Toggling plot legends

2009-01-06 Thread Mauro Cavalcanti
Dear ALL, I am under the impression that this is a very common question, but is there any way to toggle on/off a legend from a MPL plot? Thanks in advance! Best regards, -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail:

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-06 Thread Mauro Cavalcanti
Dear ALL, 2009/1/6 Christopher Barker chris.bar...@noaa.gov: A FAQ is a good idea, but the real problem is that most of the docs, examples and code on this list has been matlab-style. People are going to follow examples far more than any amount of documentation. I fully agree. Matplotlib

[Matplotlib-users] Customizing MPL backends

2009-01-03 Thread Mauro Cavalcanti
Dear ALL, Is there any way to ***exclude*** (make invlsible) one of more of the standard buttons which are displayed in the toolbar (either the Classic or the Toolbar2) of the MPL backends? Thanks in advance for any assistance you can provide! Best regards, -- Dr. Mauro J. Cavalcanti

[Matplotlib-users] A request for test

2008-12-31 Thread Mauro Cavalcanti
Dear ALL, Could you please someone test the attached Python code (of my map displaying test program written with MPL/Basemap/wxPython) under MS-Windows and send me a screenshot? I have received reports saying that the map does not fill the entire figure under MS-Windows; however, under Ubuntu

Re: [Matplotlib-users] Plotting NOAA data...

2008-12-24 Thread Mauro Cavalcanti
Dear Anton, 2008/12/23 antonv vasilescu_an...@yahoo.com: Also, because I figured out the data I need and already have the scripts in place to extract the CSV files I would really like to keep it that way. Would it be possible to just show me how to get from the csv file to the plot? Here

Re: [Matplotlib-users] Falling over the edge of the world

2008-12-17 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/17 Jeff Whitaker jsw...@fastmail.fm: Mauro: Say you create a cylindrical basemap with lon_0=180. The longitudinal extent of the map will be lon=0 to lon=360. If you then plot a point with a longitude of -60, it will be off the map to the left (similar to what your

Re: [Matplotlib-users] Removing continents

2008-12-15 Thread Mauro Cavalcanti
Dear Jeff, Sorry for the delay in replying. I have been trying to deal with a problem when upgrading MPL (I presume should use the latest version of Basemap with the latest version of MPL). 2008/12/13 Jeff Whitaker jsw...@fastmail.fm: Mauro: I realize that - but if you can test the SVN

Re: [Matplotlib-users] Error installing matplotlib 0.98.5

2008-12-15 Thread Mauro Cavalcanti
Dear John, 2008/12/15 John Hunter jdh2...@gmail.com: I believe I have a workaround for this problem. Could you please test with easy_install http://matplotlib.sourceforge.net/snapshots/matplotlib-0.98.5.1.tar.gz It worked well and MPL 0.98.5.1 has been successfully installed. There is

[Matplotlib-users] Removing continents

2008-12-13 Thread Mauro Cavalcanti
Dear ALL, Am I intending to change the world's geography? No, not quite. I just would like to know how to deal with the following problem, I have stumbled upon in MPL/Basemap: I have a line: continents = map.fillcontinents(color='coral, lake_color='blue') where map is, of course, a Basemap

[Matplotlib-users] General problem with Basemap 0.99.2 method returning values

2008-12-13 Thread Mauro Cavalcanti
Dear ALL, I just noted that the remove() method which worked OK in version 0.99 of MPL Basemap to remove country borders and rivers is not working anymore after I upgraded to Basemap version 0.99.2. What have changed? Thanks in advance. Best regards, -- Dr. Mauro J. Cavalcanti Ecoinformatics

[Matplotlib-users] MPL linestyles and plot markers

2008-12-10 Thread Mauro Cavalcanti
Dear ALL, Searching the MPL online documentation, I just found out that plot linestyles can also be represented as a string (legal string values are 'solid'|'dashed'|'dashdot'|'dotted'). So, I would like to ask you gentlemen if such string representation is also available for plot markers (I

Re: [Matplotlib-users] Just an aside question on Basemap

2008-12-09 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/9 Jeff Whitaker [EMAIL PROTECTED]: Mauro: If your points are defined in terms of longitude and latitude, you have to convert to map projection coordinates using the __call__ method of the Basemap instance, i.e. x, y = m(lon, lat) # lon,lat can be arrays, lists or

Re: [Matplotlib-users] Plotting grid data

2008-12-09 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/9 Jeff Whitaker [EMAIL PROTECTED]: Assuming that this is a regular grid (so that using meshgrid makes sense) you can using pcolor: m.pcolormesh(x,y,dat) Unfortunately, this didn't work. I got the error message (using the example data from my previous post): File

[Matplotlib-users] Just an aside question on Basemap

2008-12-09 Thread Mauro Cavalcanti
Dear Jeff ALL, This is just a simple question on plotting points on Basemap (maybe it will have to be pursued further). I presume points could be plotted onto maps, no matter what projection is used -- so, I have been plotting quite well on maps using an Equirectangular projetion and one of your

Re: [Matplotlib-users] Plotting grid data

2008-12-09 Thread Mauro Cavalcanti
Dear Scott Jeff, Sorry for the delay in replying, I was off office for a while. 2008/12/9 Scott Sinclair [EMAIL PROTECTED]: As Jeff noted earlier, the number of elements in an array can't be increased simply by reshaping it, so the error message isn't too mysterious, if carefully

[Matplotlib-users] MPL colors

2008-12-09 Thread Mauro Cavalcanti
Dear ALL, MPL accepts several formats for passing color information for the plotting methods (plot, xlabel, ylabel, etc.) and these are well documented. The set_color() and other methods in matplotlib.Lines.Line2D accept all these formats, but I could not figure out how to retrieve the current

Re: [Matplotlib-users] MPL colors

2008-12-09 Thread Mauro Cavalcanti
Dear John, Thanks, it works well! Best regards, 2008/12/9 John Hunter [EMAIL PROTECTED]: Yep, we have a color converter for that -- it recognizes any mpl color string and returns rgba: In [72]: from matplotlib.colors import colorConverter In [73]: colorConverter.to_rgba('b') Out[73]:

Re: [Matplotlib-users] A question on Basemap projection

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/8 Jeff Whitaker [EMAIL PROTECTED]: Mauro: I just updated SVN basemap so you can specify just lon_0 for all cylindrical projections (cyl,gall,merc,mill) to get a global map centered on lon_0 (implying llcrnrlat=-90,urcrnrlat=90,llcrnrlon=lon_0-180,urcrnrlon=lon_0+180).

Re: [Matplotlib-users] A question on Basemap projection

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/8 Jeff Whitaker [EMAIL PROTECTED]: Mauro: I realized that this is actually possible with the Cassini projection (the transverse aspect of the cylindrical equidistant). Don't know why you would actually do it though, if you want to show polar regions you should probably

Re: [Matplotlib-users] A question on Basemap projection

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/7 Jeff Whitaker [EMAIL PROTECTED]: Mauro: Just set the llrncrlat,urcrnrlon appropriately. For instance, llcrnrlon=0, urcrnrlon=360 will produce a map centered on the dateline while llcrnrlon=-180, urcrnrlon=180 will produce a map centered on Greenwich. Thanks! I had not

Re: [Matplotlib-users] General questions about Basemap

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/8 Jeff Whitaker [EMAIL PROTECTED]: Mauro: I just added a 'scale' keyword to bluemarble that downsamples the image to speed things up. scale=1.0 (the default) gives the same answer as before (the full resolution image). scale=0.5 downsamples the image to half the original

Re: [Matplotlib-users] Drawing map scales with Basemap

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, Thanks Unfortunately, the map scale cannot be drawn for cylindrical projections like the Equirectangular default... :-( Best wishes, 2008/12/8 Jeff Whitaker [EMAIL PROTECTED]: Mauro Cavalcanti wrote: Dear Jeff ALL, Are there any examples of the use of the drawmapscale

Re: [Matplotlib-users] Drawing map scales with Basemap

2008-12-08 Thread Mauro Cavalcanti
Dear Jeff, 2008/12/8 Jeff Whitaker [EMAIL PROTECTED]: Mauro: That's because the default is not really a map projection at all - it just displays the data in lat/lon coordinates.The map scale really has no meaning in that case. Sure, however some biological journals insist that authors

Re: [Matplotlib-users] General questions about Basemap

2008-12-07 Thread Mauro Cavalcanti
Dear Jeffrey, 2008/12/6 Jeff Whitaker [EMAIL PROTECTED]: Mauro: There never actually was a Basemap 0.90 - could you check that version number again with Sorry, my reference to a 0.90 version was a typo! Indeed, I have version 0.99 Thanks for the information on the drawing of rivers; I will

[Matplotlib-users] Toggling country boundaries in MPL Basemap

2008-12-05 Thread Mauro Cavalcanti
Dear ALL, Always engaged in pushing MPL/Basemap ahead of its limits, here am I again with a humble question: I want to be able to toggle the display of country boundaries on a map using a menu option on my wxPython interface. It is quite easy to initially plotting a map without borders and then

[Matplotlib-users] General questions about Basemap

2008-12-05 Thread Mauro Cavalcanti
Dear ALL, I am using Basemap version 0.90 with MPL version 0.98.3 under Linux Ubuntu, both installed from Andrew Straw repository (I just prefer to install from repositories via apt than directly from the sources, although in this case I do not have always the latest versions). I stumbled upon a

Re: [Matplotlib-users] Toggling points and legends

2008-12-01 Thread Mauro Cavalcanti
regards, 2008/12/1 Ryan May [EMAIL PROTECTED]: Mauro Cavalcanti wrote: Dear ALL, Is there any example of toggling points on and off a MPL Basemap? I see that there matplotlib artists have a handy set_visible() method, but if I have a map with plotted points and use ax.set_visible(False

[Matplotlib-users] Plotting a list of lines

2008-11-27 Thread Mauro Cavalcanti
Dear ALL, Is there a way to plot a list (a Python list) of lines (MPL Line2D objects) at once? For example, inside a loop I have: for i in range(n): line, = ax.plot(x,y) plot_list.append(line) In the code fragment above, plot_list is an ordinary Python list which will be filled with

Re: [Matplotlib-users] Plotting a list of lines

2008-11-27 Thread Mauro Cavalcanti
Dear John, Thank you very much for your thoughtful reply. Indeed, the code fragment I sent was incomplete and not expected to do nothing else than illustrate the general idea (what, hopefully, it did). You suggested collections, and in my previous attempts I have already used them (worked quite

[Matplotlib-users] Plotting edges between nodes

2008-11-26 Thread Mauro Cavalcanti
Dear ALL, I want to plot lines (edges) between a sequence of points (nodes), using the following code: from pylab import * import matplotlib.pyplot as plt nodes = load('nodes.dat') edges = load('edges.dat') n = nodes.shape[0] fig = plt.figure() ax = fig.add_subplot(1,1,1)

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-25 Thread Mauro Cavalcanti
Dear Tim, Thanks for your message. I am not just trying, I am indeed implementing a software package for species distribution mapping and biogeographic analysis, using wxPython/Matplotlib. And, by the way, it is going quite well. Both Thuban and QGis, as generalized implementations of GIS, are

[Matplotlib-users] Toggling points and legends

2008-11-22 Thread Mauro Cavalcanti
Dear ALL, Is there any example of toggling points on and off a MPL Basemap? I see that there matplotlib artists have a handy set_visible() method, but if I have a map with plotted points and use ax.set_visible(False), the entire map is made invisible! Any hints? Thanks in advance! Best

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-21 Thread Mauro Cavalcanti
Dear Stef, 2008/11/21 Stef Mientki [EMAIL PROTECTED]: maybe you could send an explicit resize event to the panel or to the splitter: self.Panel_Bottom.SendSizeEvent () Yes, it worked! I just was not aware of this SendEvent() in wxPython, it is handy. Now, I have to work out the correct

Re: [Matplotlib-users] Another question

2008-11-20 Thread Mauro Cavalcanti
Dear Eric, Thanks for your reply. This is surely not good news -- maybe an automatic shrinking mechanism could be added in a future version of Matplotlib (this would be useful not only with maps, but with other plots as well)? Regards, 2008/11/20 Eric Firing [EMAIL PROTECTED]: Mauro Cavalcanti

Re: [Matplotlib-users] general matplotlib usage questions

2008-11-20 Thread Mauro Cavalcanti
Dear ALL, In due time, I intend to compile as many suggestions and tips as possible to eventually create a How-To list for the superb Basemap module, like the very useful one which is on the Matplotlib home page. HTH Cheers, 2008/11/20 John Hunter [EMAIL PROTECTED]: On Thu, Nov 20, 2008 at

Re: [Matplotlib-users] general matplotlib usage questions

2008-11-20 Thread Mauro Cavalcanti
Dear Robin, I do agree (although the Python gurus here highly recommend Qt instead). wxPython is well documented and has *plenty* of exemples (much of them truly useful). I have been working hard to developing a scientific desktop application which uses wxPython for its GUI frontend and

[Matplotlib-users] Qestion on Matplotlib GUI backends toolbars

2008-11-20 Thread Mauro Cavalcanti
Dear ALL, Just a simple (?) question on Matplotlib GUI backends toolbars. The Matplotlib examples include a nice sample of programmatically adding a button to a backend toolbar, but I could not find out how to *remove* one or more of the buttons from the default toolbar. Has it be sub-classed?

[Matplotlib-users] Embedding Basemap in a wx app

2008-11-19 Thread Mauro Cavalcanti
Dear ALL, Greetings. Trying to develop a desktop application for interactive mapping using wxPython and Matplotlib, I have been doing some experiments with embedding maps generated by the Basemap module into a wxPython frame. Although there are many nice exemples of using Matplotlib graphs in

[Matplotlib-users] Another question

2008-11-19 Thread Mauro Cavalcanti
Dear ALL, Another (this time possibly quite silly) question: how can I make a Basemap cover entirely the display area of the GUI backend (ie., without the top, bottom, left, right spaces)? I tried something like: self.figure = Figure() self.figure.subplots_adjust(left=-0.01, bottom=-0.750,