On 06/05/2015 03:57 PM, Joe Kington wrote:
Not to plug one of my own answers to much, but here's
a basic example. http://stackoverflow.com/questions/20144529/shifted-colorbar-matplotlib
I've been meeting to submit a PR with a more full
feature
Hi Ben,
My idea was to just make the notebook the “example”. But nbconvert-ing the
notebook makes static images that then need to be checked into the repository,
and take space, so I wasn’t sure how desirable that was.
It would be fun to have the documentation script accept ipython notebooks
No, there isn't an accepted way to do that AFAIK. However, it doesn't seem
like it is all that far off. Our doc-build process will create the images
from the examples automatically, so you don't need to include the image
tag. It is sort of a way to make sure the examples work and that the image
mat
By the way, if you want quick-n-easy plotting of shapefiles, I suggest
using GeoPandas, which makes it dead simple.
On Mon, Jun 8, 2015 at 1:49 PM, Ronquillo, Edgar Nahum
wrote:
> Hello,
> I am currently working with Basemap to plot a shapefile on the map.
> However, I am confused on how to ini
Edgar,
You feed lat/lon (float) values. See this example here:
http://matplotlib.org/basemap/users/cea.html
And a whole collection of setting up maps in other projection here:
http://matplotlib.org/basemap/users/mapsetup.html
You also need to make sure that all of inputs make sense together (e.g
Hello,
I am currently working with Basemap to plot a shapefile on the map. However, I
am confused on how to initialize llcrnrx and llcrnry and same for the upper
corner. I currently have both latitudes and longitudes for lower and upper
corners in degrees. Does this mean I have to convert from d
Hi all,
If I want to contribute *.rst files to the matplotlib documentation, I can see
a few styles already contributed, at least one of which makes extensive use of
ipython (http://matplotlib.org/users/image_tutorial.html). However, even it
makes use of `.. sourcecode:: python` and `.. plot::
I put the data into a list of lists of numpy arrays. The following script
generated a plot similar to what Juan attached:
import matplotlib.pyplot as plt
import numpy as np
def model(t, ii, jj):
"""
Returns some numbers according to the independent variable, t, and
parameters of the m