I use django and matplotlib quite a bit at my work. I can probably help
you. It is pretty easy to set up with a few basics.
I am actually thinking of contributing to the documentation on this.
Unfortunately, my code is at work, so I can give the best concrete
examples right now. However,
However, this really is a bug. I have spent about two hours trying to get
this to work on EC.
Where to I file bugs?
P.
On Wed, May 7, 2014 at 1:29 PM, Paul Tremblay paulhtremb...@gmail.comwrote:
I've discovered the problem and a fix. $HOME is set to /home/ptremblay,
but /home/ptremblay does
On Wed, May 7, 2014 at 7:20 AM, Paul Tremblay paulhtremb...@gmail.comwrote:
I am using matplotllib as part of web server. matplotlib causes my server
to crash with this error:
File
/apollo/env/Ssdf/lib/python2.7/site-packages/matplotlib/__init__.py, line
597, in _get_configdir
return
the library.
On Wed, May 7, 2014 at 11:50 AM, Paul Tremblay paulhtremb...@gmail.comwrote:
I am using our companies pacaking system. The version of matplotlib is
1.3.1, by the way.
On Wed, May 7, 2014 at 11:32 AM, Paul Hobson pmhob...@gmail.com wrote:
How did you install matplotlib? I've
On 10/18/12 5:45 AM, Damon McDougall wrote:
On Thu, Oct 18, 2012 at 10:10 AM, Alexander Eberspaecher
alexander.eberspaec...@ovgu.de wrote:
Hello,
On Wed, 17 Oct 2012 11:38:27 +0100
Damon McDougall damon.mcdoug...@gmail.com wrote:
How do people feel about perhaps adding a matplotlib
On 10/13/12 8:55 PM, lulu wrote:
I have tried to install matplotlib but received an error msg that I need
python 2.7.
I installed 2.7, then installed matplotlib for appropriate os, but recieved
error msg when I ran my program. Then, searching, I am seeing there are
some that have installed
No. Not in the python shell. In the regular shell.
On 10/13/12 11:43 PM, lulu wrote:
okay - that sounds easy enough.
I am working in the python shell -- just type these lines at the top of my
code?
--
View this message in context:
'))
make_month_axis(dates = dates, y = y, ax = ax, fig = fig)
plt.show()
Paul
On 10/8/12 11:03 PM, Paul Tremblay wrote:
I often have to make graphs with time series, with each point
being the start of a week. Below
I often have to make graphs with time series, with each point being
the start of a week. Below is the result I wish:
However, in order to make the secondary x axis the the month labels,
I need something like 40 lines of code. My strategy consists in
first drawing
, Sep 26, 2012 at 12:05 AM, Paul Tremblay
paulhtremb...@gmail.com mailto:paulhtremb...@gmail.com wrote:
In R, there are many default data sets one can use to both
illustrate code
and explore the scripting language. Instead of having to fake
data, one can
pull from
On 9/26/12 12:31 PM, Benjamin Root wrote:
On Wed, Sep 26, 2012 at 12:10 PM, Paul Tremblay
paulhtremb...@gmail.com mailto:paulhtremb...@gmail.com wrote:
Thanks. I know when doing 8/9 in python 2.x you get 0. With python
3 you get a decimal (Hooray, Python 3!).
I ran the script I
, Pierre Haessig pierre.haes...@crans.orgwrote:
Hi,
Just a detail :
Le 26/09/2012 04:29, Paul Tremblay a écrit :
percent = (np.divide(the_cumsum, the_sum)) * 100
This lines doesn't work on my computer (numpy 1.6.2)
Indeed, there is a casting issue :
In [2]: percent
Out[2]: array([ 0, 0
I noticed today that when I create a bar graph with zero values that the
labels don't align correctly:
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
names = ['name a', 'name b', 'name c', 'named', 'name e', 'name f']
defects = [0, 0, 0, 5, 6, 7]
ax = fig.add_subplot(111)
.set_ylabel('Percentage')
ax2.set_ylim(0,110)
plt.show()
On Mon, Sep 24, 2012 at 11:43 PM, Paul Hobson pmhob...@gmail.com wrote:
On Mon, Sep 24, 2012 at 12:21 AM, Paul Tremblay
paulhtremb...@gmail.com
wrote:
Here is my example of a Pareto chart.
For an explanation of a Pareto chart
') # create the right y axis label
plt.show()
On Tue, Sep 25, 2012 at 2:31 PM, Jeffrey Melloy jmel...@gmail.com wrote:
ax1.set_ylim(0, sum(data))
ax2.set_ylim(0, 100)
seems to solve both of these issues.
On Tue, Sep 25, 2012 at 11:16 AM, Paul Tremblay paulhtremb...@gmail.com
wrote
In R, there are many default data sets one can use to both illustrate code
and explore the scripting language. Instead of having to fake data, one can
pull from meaningful data sets, created in the real world. For example,
this one liner actually produces a plot:
plot(mtcars$hp~mtcars$mpg)
where
I took my example from the matplotlib pages itself:
http://matplotlib.org/examples/api/fahrenheit_celcius_scales.html
If you know a better way, please show me.
P.
On 9/24/12 4:40 PM, Benjamin Root wrote:
On Mon, Sep 24, 2012 at 12:21 AM, Paul Tremblay
paulhtremb...@gmail.com
):
return round(x/the_sum, 1) * 100
formatter = FuncFormatter(to_percent)
ax2.yaxis.set_major_formatter(formatter)
ax1.set_ylabel('Defects')
ax2.set_ylabel('Percentage')
plt.show()
On Mon, Sep 24, 2012 at 8:50 PM, Paul Tremblay paulhtremb...@gmail.comwrote:
I took my example from the matplotlib
Here is my example of a Pareto chart.
For an explanation of a Pareto chart:
http://en.wikipedia.org/wiki/Pareto_chart
Could I get this chart added to the matplolib gallery?
Thanks
Paul
import matplotlib.pyplot as plt
import numpy as np
def update_ax2(axx):
ax2.set_ylim(0, 100)
in your jmkfile.py you should have
from pylab import *
Paul
On 9/8/12 12:45 AM, Jody Klymak wrote:
Hi All,
Sorry to ask a dumb python newbie question, but the problem arose while reading
the matplotlib documentation, and an hour or so on the internet didnt' help, so
I felt it was
I build from github.
On Thu, Sep 6, 2012 at 10:35 AM, James Morrison james.morri...@gmail.comwrote:
Hi, I downloaded a zip from the master on the github matplotlib
repository, when I run: python3 setup.py install
I get several 'SyntaxError: invalid syntax' errors which appear to
highlight
,
most users won't encounter the problems I did, but a warning in a FAQ might
solve a few headaches, regardless of how the developers decided to go.
Thanks for your help.
Paul
On Tue, Sep 4, 2012 at 3:09 PM, Benjamin Root ben.r...@ou.edu wrote:
On Tue, Sep 4, 2012 at 2:20 PM, Paul Tremblay
The following Python code:
ax.fill_between(dates, lower, upper, facecolor='gray', alpha=0.5)
Produces this error with Python 3.2:
Traceback (most recent call last):
File scripts/audit_reports_weekly.py, line 150, in module
ax.fill_between(dates, lower, upper, facecolor='gray', alpha=0.5)
23 matches
Mail list logo