Re: [Matplotlib-users] Graph ticks label missing !

2013-08-27 Thread Nicolas Mailhot
Le Lun 26 août 2013 18:21, Goyo a écrit : > 2013/7/19 Nicolas Mailhot : >> Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : >>> Can you please provide a completely standalone example? The following >>> code has undefined variables etc. >> >> Here

Re: [Matplotlib-users] Graph ticks label missing !

2013-08-26 Thread Nicolas Mailhot
Le Ven 19 juillet 2013 17:47, Nicolas Mailhot a écrit : > Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : Hi, >> Can you please provide a completely standalone example? The following >> code has undefined variables etc. > > Here it is, I'm afraid this tes

Re: [Matplotlib-users] Graph ticks label missing !

2013-07-19 Thread Nicolas Mailhot
precomputed values) As shown in the attached png, the bottom tick labels (month names) are missing. It worked in matplotlib ≤ 1.2.0 -- Nicolas Mailhot testcase.py Description: Binary data <>-- See everything from t

Re: [Matplotlib-users] [Patch] Patch for fontmanager crash

2013-07-19 Thread Nicolas Mailhot
Le Jeu 18 juillet 2013 14:12, Nicolas Mailhot a écrit : > Le Mer 17 juillet 2013 15:04, Michael Droettboom a écrit : >> This patch doesn't make a whole lot of sense to me. get_name should >> work just fine if self._family is None, and indeed it does in my own >>

Re: [Matplotlib-users] [Patch] Patch for fontmanager crash

2013-07-18 Thread Nicolas Mailhot
|@@libdir@@|%{_libdir}|' setupext.py # Use fontconfig by default %patch2 -p1 -b .fontconfig Regards, -- Nicolas Mailhot python-matplotlib-fontconfig.patch Description: Binary data python-matplotlib-noagg.patch Description: Binary data python-matplotlib-tk.patch Description: Binary da

Re: [Matplotlib-users] [Patch] Patch for fontmanager crash

2013-07-09 Thread Nicolas Mailhot
Le Mar 9 juillet 2013 15:14, Nicolas Mailhot a écrit : > > Le Lun 8 juillet 2013 18:18, Martin Mokrejs a écrit : >> Could you instead just test for "if not self._family"? Tests for >> equality >> are more expensive (that means self._family == 0 or self._famil

Re: [Matplotlib-users] [Patch] Patch for fontmanager crash

2013-07-09 Thread Nicolas Mailhot
Le Lun 8 juillet 2013 18:18, Martin Mokrejs a écrit : > Nicolas Mailhot wrote: >> Hi, >> >> In matplotlib 1.2.1, the get_name function is not garding against none >> self (unlike other functions); Unfortunately it seems I have a workload >> that makes matplotli

[Matplotlib-users] [Patch] Patch for fontmanager crash

2013-07-08 Thread Nicolas Mailhot
properties. """ +if self._family is None: + return rcParams['font.family'] return ft2font.FT2Font(str(findfont(self))).family_name def get_style(self): Regards, -- Nicolas Mailhot --

[Matplotlib-users] Graph ticks label missing !

2013-07-08 Thread Nicolas Mailhot
bottom=True, labeltop=False) line to the end of the block, but it seems matplotlib is confusing subplot1 and subplot2, and that results in the displaying of week numbers (not month numbers) to the bottom of the plot (and the week numbers disappear from the top of the graph). Any idea how to re