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 ben.r...@ou.edu wrote: Do you mean choropleth? http://en.wikipedia.org/wiki/Choropleth_map On Fri, Oct 24, 2014 at 1:18 PM, ianalis iana...@gmail.com wrote: I have been creating

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 robert.wittk...@gmx.de wrote: I would like to draw very, very simple

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 mrngil...@gmail.com wrote: Hello everyone, I was wondering if there would be some kind of plot style

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

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

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

2015-08-14 Thread Christian Alis
of the game. On Aug 15, 2015, at 1:50 AM, Christian Alis iana...@gmail.com wrote: The sample code reads data from msft.csv. If you enter your data into a text editor and save it as msft.csv in python's current working directory, then the following minimal code (pruned from plotfile_demo) should work

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