xlabel, ylabel position

sorry forgot to attach the files :slight_smile:

OK< after a quick look here is a new approach to think about. After
you install and run 0.82, and then build 0.87.x, you did not flush the
font cache or tex cache dir, right? In this case the font caching
mechanism may be picking up the old font dir look for 'font search
path' in your logs. What happens if you first install 0.82, run it,
then install 0.87, run it, then flush the font and tex cache. Does 87
then fail as before. Ie is it the running of 0.82 and the
preservation of the font cache information that is causing 0.87 to
work? Arguing against this is that findfont seems to be returning
Vera.ttf in both cases.

In any case, an important clue would be to know whether wiping out
~/.matplotlib/*.cache restores the bug in 0.87.x

JDH

John Hunter wrote:

"Steve" == Steve Schmerler <elcorto@...361...> writes:

    > sorry forgot to attach the files :slight_smile:

OK< after a quick look here is a new approach to think about. After
you install and run 0.82, and then build 0.87.x, you did not flush the
font cache or tex cache dir, right? In this case the font caching
mechanism may be picking up the old font dir look for 'font search
path' in your logs. What happens if you first install 0.82, run it,
then install 0.87, run it, then flush the font and tex cache. Does 87
then fail as before. Ie is it the running of 0.82 and the
preservation of the font cache information that is causing 0.87 to
work? Arguing against this is that findfont seems to be returning
Vera.ttf in both cases.

In any case, an important clue would be to know whether wiping out
~/.matplotlib/*.cache restores the bug in 0.87.x

No. I removed

elcorto@...662...:~$ rm -r .matplotlib/tex.cache/ .matplotlib/ttffont.cache .ttffont.cache

and ran the script. It doesn't fail. Note that I still had a .ttffont.cache (from 0.82) in my $HOME (because I did not remove *anything* related to 0.82 before building 0.87.2). But even removing this doesn't change anything.

Does mpl (0.87.2) maybe include 0.82 stuff during the build process?

cheers,
steve

ps: I always get your mails twice :slight_smile:

···

--
Random number generation is the art of producing pure gibberish as quickly as possible.