e have a test for it)
>
> for i, tick in enumerate(ax.yaxis.get_major_ticks()):
> tick.set_pad(tick.get_pad() - i * 5)
>
> A bit silly, but it is how you can have labels anywhere you want relative to
> the ticks.
>
>
> On Wed, Sep 7, 2016 at 11:47 AM, Hearne, Mi
you do that by setting a negative tickpad value in the rcParams.
>
> On Wed, Sep 7, 2016 at 11:28 AM, Hearne, Mike wrote:
>>
>> Thomas - I hate to be obtuse, but did you mean to imply that the xaxis
>> and yaxis properties of an Axes object are AxisArtist objects?
>&g
Axes/Axis classes.
>
> Tom
>
>
> On Tue, Sep 6, 2016, 19:53 Hearne, Mike wrote:
>>
>> Python: 3.5
>> Matplotlib: 1.5.2
>>
>> I'm trying to invert the tick labels on a Cartopy map, and I found
>> this Matplotlib example:
>>
>> ax.ax
Python: 3.5
Matplotlib: 1.5.2
I'm trying to invert the tick labels on a Cartopy map, and I found
this Matplotlib example:
ax.axis[:].invert_ticklabel_direction()
found here:
http://matplotlib.org/mpl_toolkits/axes_grid/users/axisartist.html
My problem is that any Axes object (or child class the
For your first question: Use the legend "numpoints" keyword. I think
if you set it to 1, it should solve that problem.
For your second question, I'm not sure, but I'll bet if you poke
around in the Legend object returned by the function, you'll find
something.
On Mon, Oct 20, 2014 at 8:04 AM, To
Is it possible to drape an image over a topography dataset? One example,
from a package called GMT, is here:
http://gmt.soest.hawaii.edu/doc/5.1.1/gallery/ex32.html
If so, does anyone have a sample of how this would be accomplished?
Thanks,
Mike
I have an issue with basemap.imshow() at higher latitudes - namely the
image (high-res topography, in this case) becomes distorted with
respect to the coastlines the higher I go.I assume it has to do
with the image pixels becoming more non-square the higher I go in
latitude.
I found this discu