Re: [Matplotlib-users] no plots showing

2015-11-27 Thread Christian Alis
You're missing a pair of parentheses. Without it, you're just referring to the function itself. plt.show() On Nov 27, 2015 11:36 AM, "Paul Harrison" wrote: > > Hi guys, > > If I do the following, no plot shows: > > ply5@xroa-dt-20:~> python > > Python 2.6.9 (unknown, Apr 7 2015, 08:28:12) > > [

Re: [Matplotlib-users] Plotting from a data file

2015-08-14 Thread Christian Alis
does asfileobj=False do? > > Goodness the whole world of Python has radically changed in the short time I > have been out of the game. > > > >> On Aug 15, 2015, at 1:50 AM, Christian Alis wrote: >> >> The sample code reads data from msft.csv. If you enter yo

Re: [Matplotlib-users] unicode trouble

2015-07-06 Thread Christian Alis
Have you tried making the string unicode? ax.set_xlabel (u' ') -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and

Re: [Matplotlib-users] A request for a Matplotlib extension to hist

2015-04-24 Thread Christian Alis
I had the same problem some time ago and what I did is to use bar() to plot the histogram, which can be done in one line: hist, bin_edges = np.histogram(data) plt.bar(bin_edges[:-1], hist) Perhaps this trick can be added in the documentation? I am willing to code Virgil's request if many will fi

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Christian Alis
Hi Marin, Have you looked at the style sheets examples in the gallery? http://matplotlib.org/gallery.html#style_sheets Regards, Christian On Tue, Mar 3, 2015 at 3:08 PM, Marin GILLES wrote: > Hello everyone, > > I was wondering if there would be some kind of plot style profile interface. > W

Re: [Matplotlib-users] Plotting maps with matplotlib-basemap very slow

2015-01-24 Thread Christian Alis
Hi, Have you considered reading from a suitably low-resolution shapefile instead? I suppose overlays or colors change per generation but not the geographical area. Cheers, Christian On Sat, Jan 24, 2015 at 4:11 PM, Sappy85 wrote: > I would like to draw very, very simple maps of only europe in

Re: [Matplotlib-users] Easiest way to create a chloropleth in Python

2014-11-16 Thread Christian Alis
for the delay. Here is an example I came across today using geopandas > and pysal: > http://nbviewer.ipython.org/github/geopandas/geopandas/blob/master/examples/choropleths.ipynb > > Cheers! > Ben Root > > On Fri, Oct 24, 2014 at 3:59 PM, Christian Alis wrote: >> >>

Re: [Matplotlib-users] Easiest way to create a chloropleth in Python

2014-10-24 Thread Christian Alis
Hi Ben, Yes, indeed. I'm referring to a choropleth. :) Thanks, Christian On Oct 24, 2014 8:23 PM, "Benjamin Root" wrote: > Do you mean choropleth? http://en.wikipedia.org/wiki/Choropleth_map > > On Fri, Oct 24, 2014 at 1:18 PM, ianalis wrote: > >> I have been creating chloropleth maps in Pyth