[Matplotlib-users] CFLAGS

2013-09-08 Thread Rita
Trying to compile matplotlib on Linux and it seems when I set
CFLAGS=-L/software/gcc-7.3/lib64 these settings aren't taking affect

export CFLAGS
python setup.py build

is there any thing else I should be setting?



-- 
--- Get your facts first, then you can distort them as you please.--
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] CFLAGS

2013-09-08 Thread Rita
On Sun, Sep 8, 2013 at 12:37 PM, Skip Montanaro skip.montan...@gmail.comwrote:

 (Apologies that this is not plain text. I'm trying to find an alternative
 to the broken Gmail compose functionality and haven't yet figured out if
 Apple Mail allows me to compose plain text emails.)

 On Sep 8, 2013, at 10:51 AM, Rita wrote:

  Trying to compile matplotlib on Linux and it seems when I set
 CFLAGS=-L/software/gcc-7.3/lib64 these settings aren't taking affect
 
  export CFLAGS
  python setup.py build
 
  is there any thing else I should be setting?

 A couple things come to mind. First, since you are setting link flags, you
 might try LDFLAGS instead of CFLAGS. Second, try running

 python setup.py build --help

 to see what flags you can apply to the build command.

 Skip



Skip, thankyou. I had a slight typo in my script. sorry for wasting your
time.



-- 
--- Get your facts first, then you can distort them as you please.--
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib 1.3.0 released

2013-08-06 Thread Rita
Yes, I mean a self-built package.

When linking I think  setupext.py is using /usr/lib and /usr/local/lib
first, instead it should use PKG_CONFIG_PATH and then /usr/lib and then
/usr/local/lib. Basically, the ordering or linking matters. I hope that
helps. This isnt a big deal but just though I put out the solution.


On Mon, Aug 5, 2013 at 10:29 AM, Michael Droettboom md...@stsci.edu wrote:

  On 08/03/2013 07:50 AM, Rita wrote:

 Same problem in Linux also. Here is what I did to fix it: Remove the
 freetype/fontconfig rpm from my local install (yum remove) and then place
 the proper PKG_CONFIG_PATH to point to my remote freetype/fontconfig.


 By remote, you mean self-built, rather than from a package?


  The problem is there is a bug with setupext.py. We ought to prepend
 PKG_CONFIG_PATH in the gcc compile statement.  I hope this helps.


 Can you elaborate?  The setupext.py just calls whatever pkg-config is
 first on the PATH, which should then in turn obey PKG_CONFIG_PATH.  If the
 user needs a custom PKG_CONFIG_PATH, it is generally the resposibility of
 the user to set it correctly -- and matplotlib's build system should (and
 does) use it.  Or maybe I'm just misunderstanding what you're suggesting.

 Cheers,
 Mike







 On Fri, Aug 2, 2013 at 6:53 AM, Andrew Jaffe a.h.ja...@gmail.com wrote:

 Hi,


 On 01/08/2013 19:06, Michael Droettboom wrote:
  On behalf of a veritable army of super coders, I'm pleased to announce
  the release of matplotlib 1.3.0.

  Two issues on OSX 10.8.4. I had been previously using the dmg installer.
 Lacking that, I tried easy-install and pip install, both of which gave
 me the following problems:

   - I needed to set CC=clang
   - When attempting to load matplotlib, I got the following error:


 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/font_manager.py
 in module()
   51 import matplotlib
   52 from matplotlib import afm
 --- 53 from matplotlib import ft2font
   54 from matplotlib import rcParams, get_cachedir
   55 from matplotlib.cbook import is_string_like

 ImportError:

 dlopen(/Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so,
 2): Symbol not found: _FT_Attach_File
Referenced from:

 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so
Expected in: flat namespace
   in

 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so


 This is a freetype problem, probably an incompatible version somewhere.
 Ideas?

 Andrew




 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.

 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




  --
 --- Get your facts first, then you can distort them as you please.--


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find 
 out.http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk



 ___
 Matplotlib-users mailing 
 listMatplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users




 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
--- Get your facts first, then you can distort them as you please.--
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140

Re: [Matplotlib-users] ANN: matplotlib 1.3.0 released

2013-08-03 Thread Rita
Same problem in Linux also. Here is what I did to fix it: Remove the
freetype/fontconfig rpm from my local install (yum remove) and then place
the proper PKG_CONFIG_PATH to point to my remote freetype/fontconfig. The
problem is there is a bug with setupext.py. We ought to prepend
PKG_CONFIG_PATH in the gcc compile statement.  I hope this helps.





On Fri, Aug 2, 2013 at 6:53 AM, Andrew Jaffe a.h.ja...@gmail.com wrote:

 Hi,


 On 01/08/2013 19:06, Michael Droettboom wrote:
  On behalf of a veritable army of super coders, I'm pleased to announce
  the release of matplotlib 1.3.0.

 Two issues on OSX 10.8.4. I had been previously using the dmg installer.
 Lacking that, I tried easy-install and pip install, both of which gave
 me the following problems:

   - I needed to set CC=clang
   - When attempting to load matplotlib, I got the following error:


 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/font_manager.py
 in module()
   51 import matplotlib
   52 from matplotlib import afm
 --- 53 from matplotlib import ft2font
   54 from matplotlib import rcParams, get_cachedir
   55 from matplotlib.cbook import is_string_like

 ImportError:

 dlopen(/Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so,
 2): Symbol not found: _FT_Attach_File
Referenced from:

 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so
Expected in: flat namespace
   in

 /Volumes/Data/Users/jaffe/Library/Python/2.7/lib/python/site-packages/matplotlib/ft2font.so


 This is a freetype problem, probably an incompatible version somewhere.
 Ideas?

 Andrew




 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
--- Get your facts first, then you can distort them as you please.--
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] changing the shade of a color depending on a value

2013-02-27 Thread Rita
Hi,

I am currently plotting cpu utilization over time (plot_time). I would like
the color of my line to be red when at 100%. 80-90% a bit less red, more
yellow, and lower numbers will be green. Any thoughts of doing this?


-- 
--- Get your facts first, then you can distort them as you please.--
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] axvspan legend

2013-02-26 Thread Rita
Hi,

I have a time series data which I am using plot_time(). I am able to get a
legend and I also have axvspan to show weekends. However, how can I state
the yellow (axvspan) is a weekend on the legend or is there a better way
to show this?



-- 
--- Get your facts first, then you can distort them as you please.--
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] static linking

2012-10-01 Thread Rita
Figured it out.

The real trick is to set the PKG_CONFIG_PATH properly. No need for
LD_LIBRARY_PATH

On Sun, Sep 30, 2012 at 9:52 AM, Rita rmorgan...@gmail.com wrote:

 Nelly,
 I would like to compile libpng into matplotlib if possible, ie static.
 Seems like thats not possible and I would like to would LD_LIBRARY_PATH as
 much as possible. I much prefer -Wl, rpath or LD_PRELOAD.

 Jouni,
 for the pkg-config can I use the one with my OS, /usr/bin/pkg-config? and
 also libpng comes with its own variation of pkg-config (not named that).
 How can I include that? do I set PKG_CONFIG_PATH ?





 On Sun, Sep 30, 2012 at 3:30 AM, Nelle Varoquaux 
 nelle.varoqu...@gmail.com wrote:


 On 30 Sep 2012 06:11, Jouni K. Seppänen j...@iki.fi wrote:
 
  Rita rmorgan...@gmail.com writes:
 
   i have a micro distribution setup. I am building python, numpy, scipy
 from
   scratch. I am building matplotlib from scratch also.
  
   I am doing a simple, /apps/bin/python setup.py build.
  
   I also compiled libpng and cairo in a location.

 When you build a shared library yourself, you always need to set the
 variable LD_LIBRARY_PATH. This is independant from the compilation. At
 runtime, the program merely tries to load the library if it has not been
 loaded previously.

 Usually, to avoid setting manually the path to the library, one adds this
 to its bashrc/zshrc.

 I hope this helps.
 Cheers,
 N.

 
  Have you set up pkg-config for your build of libpng? If you can't do
  that for some reason, you can edit basedirlist in setup.cfg.
 
  --
  Jouni K. Seppänen
  http://www.iki.fi/jks
 
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://ad.doubleclick.net/clk;258768047;13503038;j?
  http://info.appdynamics.com/FreeJavaPerformanceDownload.html
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://ad.doubleclick.net/clk;258768047;13503038;j?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




 --
 --- Get your facts first, then you can distort them as you please.--




-- 
--- Get your facts first, then you can distort them as you please.--
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] static linking

2012-09-30 Thread Rita
Nelly,
I would like to compile libpng into matplotlib if possible, ie static.
Seems like thats not possible and I would like to would LD_LIBRARY_PATH as
much as possible. I much prefer -Wl, rpath or LD_PRELOAD.

Jouni,
for the pkg-config can I use the one with my OS, /usr/bin/pkg-config? and
also libpng comes with its own variation of pkg-config (not named that).
How can I include that? do I set PKG_CONFIG_PATH ?





On Sun, Sep 30, 2012 at 3:30 AM, Nelle Varoquaux
nelle.varoqu...@gmail.comwrote:


 On 30 Sep 2012 06:11, Jouni K. Seppänen j...@iki.fi wrote:
 
  Rita rmorgan...@gmail.com writes:
 
   i have a micro distribution setup. I am building python, numpy, scipy
 from
   scratch. I am building matplotlib from scratch also.
  
   I am doing a simple, /apps/bin/python setup.py build.
  
   I also compiled libpng and cairo in a location.

 When you build a shared library yourself, you always need to set the
 variable LD_LIBRARY_PATH. This is independant from the compilation. At
 runtime, the program merely tries to load the library if it has not been
 loaded previously.

 Usually, to avoid setting manually the path to the library, one adds this
 to its bashrc/zshrc.

 I hope this helps.
 Cheers,
 N.

 
  Have you set up pkg-config for your build of libpng? If you can't do
  that for some reason, you can edit basedirlist in setup.cfg.
 
  --
  Jouni K. Seppänen
  http://www.iki.fi/jks
 
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://ad.doubleclick.net/clk;258768047;13503038;j?
  http://info.appdynamics.com/FreeJavaPerformanceDownload.html
  ___
  Matplotlib-users mailing list
  Matplotlib-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/matplotlib-users


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://ad.doubleclick.net/clk;258768047;13503038;j?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
--- Get your facts first, then you can distort them as you please.--
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] static linking

2012-09-29 Thread Rita
i have a micro distribution setup. I am building python, numpy, scipy from
scratch. I am building matplotlib from scratch also.

I am doing a simple, /apps/bin/python setup.py build.

I also compiled libpng and cairo in a location.




On Fri, Sep 28, 2012 at 10:49 PM, Eric Firing efir...@hawaii.edu wrote:

 On 2012/09/28 3:40 PM, Rita wrote:
  Whenever I use matplot lib its asking me for libpng and when I do
  LD_LIBRARY_PATH it works. Is there a way I can compile matplotlib so I
  can avoid doing an export LD_LIBRARY_PATH ?

 Normally one doesn't need it, so I don't know why you do need it.  You
 might get a useful response from someone who knows more about linking
 than I do if you provide some information about your platform and about
 how you are presently building matplotlib.

 Eric



 --
 How fast is your code?
 3 out of 4 devs don\\\'t know how their code performs in production.
 Find out how slow your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219672;13503038;z?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
--- Get your facts first, then you can distort them as you please.--
--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] static linking

2012-09-28 Thread Rita
Whenever I use matplot lib its asking me for libpng and when I do
LD_LIBRARY_PATH it works. Is there a way I can compile matplotlib so I can
avoid doing an export LD_LIBRARY_PATH ?




-- 
--- Get your facts first, then you can distort them as you please.--
--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] png to slideshow (gif)

2011-03-18 Thread Rita
If I have 30 PNGs and i would like to make a slideshow or an animated gif
what is the best way to do this? Can matplotlib do this?



-- 
--- Get your facts first, then you can distort them as you please.--
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users