Re: [Matplotlib-users] Create image with higher resolution basemap

2014-11-18 Thread Benjamin Root
That function is merely using the (relatively) lower res image that comes packaged with basemap, and comes with features to help downsample it if needed. I think you can get higher res images using the wmsimage() method. I hope that points you to the right direction! Cheers! Ben Root On Tue, No

[Matplotlib-users] Create image with higher resolution basemap

2014-11-18 Thread jorma
Hi Folks - i have a simply Python script below that shows a low res basemap of Maui using the Blue Marble imagery. Can anyone provide info on how to create a high res map? Thanks! - Jorma from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt import numpy as np map = Basemap

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
Muahahaha, you are right! numpy.test() does not work! but I dont get any traceback. It just crashes as before "Python.exe has stopped working..." And yes, indeed the Windows reports that _dotblas.pyd doesnt work :) lol, I didn't realize. Here the new Windows report for the numpy.test(): Version=

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
Good eye, Christoph! Wow, got to love how that crucial piece of information is buried in there! Took me three tries to find it! Now it makes a bit more sense. I would suspect that most of matplotlib does not ever call np.dot() anywhere (at least, not for 2d arrays, I think numpy uses some simple s

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Christoph Gohlke
According to your Windows log, the faulting module is _dotblas.pyd, which is part of numpy. Does `import numpy;numpy.test()` pass? Christoph On 11/18/2014 10:39 AM, Geoffrey Mégardon wrote: > Everything came pre-built through the normal anaconda downloading page! :D > > For the DLL, it seems at

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
That is a good point. I initially thought that they were under a conda environment folder, but now, it seems like there is some sort of Anaconda user? I am not familiar with how Anaconda installs for Windows, but that doesn't seem right to me. Ben Root On Tue, Nov 18, 2014 at 1:47 PM, Thomas Casw

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Thomas Caswell
Did you try in a conda venv? These look like (globally!) installed version of things which means your python session can still be picking up old/stale versions of other imports. See Paul Hobson's email. Tom On Thu Nov 13 2014 at 4:58:11 PM Geoffrey Mégardon < geoffrey.megar...@gmail.com> wrote:

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
Everything came pre-built through the normal anaconda downloading page! :D For the DLL, it seems at its normal place: http://ns1.faultwire.net/file_detail/msvcr90.dll*92305.html# I think there is no solution we can track for now :/ :/ :/ On 18 November 2014 12:16, Benjamin Root wrote: > That's

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Benjamin Root
That's too bad. Faulthandler is limited on windows systems, but I was hoping it would give us something. Anyway, I looked at the error log again (I didn't see anything relevant the first time), and I noticed the following: LoadedModule[5]=C:\WINDOWS\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Geoffrey Mégardon
I tried that: from mpl_toolkits.mplot3d import axes3d import matplotlib import matplotlib.pyplot as plt import faulthandler import os print os.getcwd() #with open("./error-log.txt", "wb") as f: #faulthandler.enable(f) faulthandler.enable() fig = plt.figure() ax = fig.add_subplot(111, project

Re: [Matplotlib-users] aligning plot width with imshow/contour width

2014-11-18 Thread zhangtao
from matplotlib.pylab import * fig = plt.figure(1) fig.clf() data = np.random.random((3,3)) xaxis = np.arange(0,3) yaxis = np.arange(0,3) ax1 = fig.add_subplot(211) im = ax1.imshow(data, interpolation='none') c = ax1.contour(xaxis, yaxis, data, colors='k') # # draw ax1 first

[Matplotlib-users] aligning plot width with imshow/contour width

2014-11-18 Thread Ken Mankoff
Hi List, How can I make a plot have the same width as an image? The image (and contour) have a fixed aspect ratio defined by the data. Now I'd like to plot something under that image, with the same width. I think this is trivial. I think I've done this in the past. But I cannot find the code. Sea