I guess that's it?
warpimage() as it is now, checks if passed image is url, so we can add
additional check if image is url, with urlparse to deduce image coordinates
and projection if present, then overlay it over already created Basemap
object.
On Thu, Oct 11, 2012 at 4:40 AM, klo uo wrote:
> Not sure, but as in example posted, 'img' is HTTPmessage pointing to
> server, and I can't see how we can deduce georeference as 'wms' object is
> named arbitrary, it could have been named to anything:
>
What am I talking about? We can deduce from
On Thu, Oct 11, 2012 at 3:31 AM, Jeff Whitaker wrote:
> But warpimage assumes the image is of global extent - perhaps we could
> make warpimage smart enough to get the georeferencing from the wms
> instance but that would require some work. There must be some way to
> let the WMS server do the ima
On 10/10/12 7:16 PM, klo uo wrote:
> On Wed, Oct 10, 2012 at 11:28 PM, Jeff Whitaker wrote:
>> I wonder whether it would be better to use OWSlib
>> (http://geopython.github.com/OWSLib/) for OGS/WMS support, instead of trying
>> to roll our own solution. It only has ElementTree as a dependency.
On Wed, Oct 10, 2012 at 11:28 PM, Jeff Whitaker wrote:
>
> I wonder whether it would be better to use OWSlib
> (http://geopython.github.com/OWSLib/) for OGS/WMS support, instead of trying
> to roll our own solution. It only has ElementTree as a dependency. Klo -
> would you be interested in re
A bit of searching gave me this much
simpler solution:
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import datetime
import matplotlib.dates as m_dates
import matplotlib.ticker as ticker
def make_month_a
On 10/10/12 2:38 PM, klo uo wrote:
Hi Rich,
On Tue, Oct 9, 2012 at 10:38 PM, Rich Signell wrote:
It look like there was a "wmsimage" method in Basemap that was folded
into a "arcgisimage" method?
IIRC, it was named like that in the test cycle, then renamed correctly
to arcgis
I made
Hi Rich,
On Tue, Oct 9, 2012 at 10:38 PM, Rich Signell wrote:
> It look like there was a "wmsimage" method in Basemap that was folded
> into a "arcgisimage" method?
>
>
IIRC, it was named like that in the test cycle, then renamed correctly to
arcgis
I made my first step in adding WMS method:
htt
setupegg.py develop is the easiest way for me to install the latest mpl and
also ipython from the github repos.
I see that your suggested symlink fix also resolves this issue.
Thanks Mike for looking into this quickly.
On Wed, Oct 10, 2012 at 7:09 AM, Michael Droettboom wrote:
> I filed an i
On Wed, Oct 10, 2012 at 10:55 AM, Mark Lawrence wrote:
> On 10/10/2012 15:41, Mark Lawrence wrote:
> > On 10/10/2012 14:29, Benjamin Root wrote:
> >>
> >> I know of a few people who have difficulties with matplotlib's datetime
> >> handling, but they are usually operating on the scale of milliseco
On 10/10/2012 15:41, Mark Lawrence wrote:
> On 10/10/2012 14:29, Benjamin Root wrote:
>>
>> I know of a few people who have difficulties with matplotlib's datetime
>> handling, but they are usually operating on the scale of milliseconds or
>> less (lightning data), in which case, one is already at
On 10/10/2012 14:29, Benjamin Root wrote:
>
> I know of a few people who have difficulties with matplotlib's datetime
> handling, but they are usually operating on the scale of milliseconds or
> less (lightning data), in which case, one is already at the edge of the
> resolution handled by python's
On Wed, Oct 10, 2012 at 9:40 AM, rand0m wrote:
> Hello,
>
> I'm new to matplotlib and I hope you can help me out with my question.
> When drawing for example a Rectangle() I have to specify it like the
> following:
> rect = Rectangle((1, 3), 2, 20, facecolor="#aa")
>
> Where 2 is the length a
On 10/10/2012 09:45 AM, Nikolaus Rath wrote:
> Michael Droettboom writes:
>>> For some reason, my matplotlib isn't able to print percent signs ('%')
>>> properly:
>> It's a known bug, fixed since 1.1.1.
>>
>> https://github.com/matplotlib/matplotlib/issues/1211
> Indeed. Luckily 1.2.0~rc2-1 is in
Michael Droettboom writes:
>> For some reason, my matplotlib isn't able to print percent signs ('%')
>> properly:
>
> It's a known bug, fixed since 1.1.1.
>
> https://github.com/matplotlib/matplotlib/issues/1211
Indeed. Luckily 1.2.0~rc2-1 is in experimental, and upgrading fixed the
problem. Than
Hello,
I'm new to matplotlib and I hope you can help me out with my question.
When drawing for example a Rectangle() I have to specify it like the
following:
rect = Rectangle((1, 3), 2, 20, facecolor="#aa")
Where 2 is the length and 20 is the height. (1,3) is for xy.
Imagine a coordination s
Benjamin Root writes:
>> >>> For some reason, my matplotlib isn't able to print percent signs ('%')
>> >>> properly:
>> >>>
>> >>> [1] inspiron:~/tmp# cat mplbug.py
>> >>>
>> >>> import matplotlib
>> >>> import matplotlib.pyplot as plt
>> >>> import numpy as np
>> >>>
>> >>> print matplotlib.__ver
On Mon, Oct 8, 2012 at 12:06 PM, Jianbao Tao wrote:
> Thanks, Ben.
>
> Your fix works when the view interval is greater than 1 minute, but not so
> much when the view interval is less than one minute.
>
> BTW, what I am trying to accomplish is to use matplotlib to plot
> time-series data that can
I filed an issue for this. We should try to get the fix into 1.2.x
https://github.com/matplotlib/matplotlib/issues/1354
Mike
On 10/10/2012 09:00 AM, Michael Droettboom wrote:
I think this stack overflow question [1] sort of sums up the problem
-- setuptools develop is kind of a hack and only
Thanks for the many useful responses - I eventuallyfound by experiment that
imshow( interpolation='nearest' works *if* I write a png file.
Saving a pdf file mushed up my crisp pixel boundaries. However, saving as png,
then using (mac osx) preview to convert to pdf worked fine.
Go figure()!
I
I think this stack overflow question [1] sort of sums up the problem --
setuptools develop is kind of a hack and only really works if the source
structure matches the installed structure. That used to be true of
matplotlib, but installing different packages based on the Python
version breaks t
On Wed, Oct 10, 2012 at 8:23 AM, Michael Droettboom wrote:
> It's a known bug, fixed since 1.1.1.
>
> https://github.com/matplotlib/matplotlib/issues/1211
>
> BTW: If you're running the Debian package, how come the version is a
> release candidate? (1.1.1rc2)
>
> Mike
>
>
Mike,
We didn't get th
This is related to using develop mode. I never use that (I use
virtualenvs instead), so this doesn't get much testing. This seems to
have broken when we started to ship separate versions of dateutil for
python2 and python3. setuptools doesn't seem to like the fact that we
rename dateutil_py2
It's a known bug, fixed since 1.1.1.
https://github.com/matplotlib/matplotlib/issues/1211
BTW: If you're running the Debian package, how come the version is a
release candidate? (1.1.1rc2)
Mike
On 10/09/2012 04:32 PM, Nikolaus Rath wrote:
Hello,
For some reason, my matplotlib isn't able to
24 matches
Mail list logo