Revision: 7274
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7274&view=rev
Author:   evilguru
Date:     2009-07-20 13:53:21 +0000 (Mon, 20 Jul 2009)

Log Message:
-----------
Remove a mathtex demo from matplotlib. These now live in mathtex as opposed to 
matplotlib.

Removed Paths:
-------------
    branches/mathtex/examples/api/mathtext_asarray.py

Deleted: branches/mathtex/examples/api/mathtext_asarray.py
===================================================================
--- branches/mathtex/examples/api/mathtext_asarray.py   2009-07-19 21:33:18 UTC 
(rev 7273)
+++ branches/mathtex/examples/api/mathtext_asarray.py   2009-07-20 13:53:21 UTC 
(rev 7274)
@@ -1,24 +0,0 @@
-"""
-Load a mathtext image as numpy array
-"""
-
-import numpy as np
-import matplotlib.mathtext as mathtext
-import matplotlib.pyplot as plt
-import matplotlib
-matplotlib.rc('image', origin='upper')
-
-parser = mathtext.MathTextParser("Bitmap")
-
-
-parser.to_png('test2.png', 
r'$\left[\left\lfloor\frac{5}{\frac{\left(3\right)}{4}} y\right)\right]$', 
color='green', fontsize=14, dpi=100)
-
-
-rgba1, depth1 = parser.to_rgba(r'IQ: $\sigma_i=15$', color='blue', 
fontsize=20, dpi=200)
-rgba2, depth2 = parser.to_rgba(r'some other string', color='red', fontsize=20, 
dpi=200)
-
-fig = plt.figure()
-fig.figimage(rgba1.astype(float)/255., 100, 100)
-fig.figimage(rgba2.astype(float)/255., 100, 300)
-
-plt.show()


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to