Skip to main content

All Questions

Tagged with
0 votes
1 answer
286 views

x-labels rendered twice on matplotlib plot

I have a plot that uses 9 labels on the x-axis. However, because I have split up the plot into two axes, it seems that it requires 18 labels (hence the added list of empty strings) instead for some ...
iyyel's user avatar
  • 55
1 vote
1 answer
1k views

Cartopy: Can't add features to geo axes (no errors or warnings)

I can't add features to cartopy geo axes. Here is an example from the gallery: import cartopy import matplotlib.pyplot as plt def main(): ax = plt.axes(projection=cartopy.crs.PlateCarree()) ...
pbreach's user avatar
  • 17k
5 votes
1 answer
3k views

Draw a terrain with python?

I have a numpy 2d-array representing the geometrical height of a specific area where a street will be build. I can visualize this using scipy.misc.toimage. However I would like to get a simple 3D view ...
AME's user avatar
  • 2,609
3 votes
1 answer
716 views

Improper rendering at axes border in Matplotlib

I want to render a rectangle within an axes in matplotlib. The axes is the unit square with the origin at the bottom left corner. For the case where the rectangle is the same size as the axes - I ...
Rocketman's user avatar
  • 3,524