I would like to know whether the following project of mine:
http://www.friedrichromstedt.org/index.php?m=186
is useful or not, because I don't know.
I made an attempt to find something like what I tried some time ago,
but I failed.
Friedrich
The question has been answered I think in the thread
"Graph gains a blank space at the right hand side"
just some seconds ago.
Am I wrong?
Friedrich
--
Download Intel® Parallel Studio Eval
Try the new software tools for
--
From: Friedrich Romstedt
Date: 2010/2/24
Subject: Re: [Matplotlib-users] Looping through all the built-in colormaps
To: David Goldsmith
> 0) is there some "elegant" way to do what I want to do?
Don't know whether it's elegant or not, but it should do the job:
an release software under GPL
incorporating MIT licensed software? Otherwise I would release under
dual license.
Friedrich
2010/2/24 Alan G Isaac :
> On 2/24/2010 2:36 AM, Friedrich Romstedt wrote:
>> Can you explain to me why you are so restrictive about GPLed code? I
>> mean
I have worked in highschool on a project "Beam tracing" where I had to
subdivide triangles from a certain point of view with z-ordering and with
such a subdivision how they are covered by the viewing beam. This means
this engine you want to write already exists. See the following ascii
graphics:
Andrew, I sent this to you personally, unintentionally, and want it to
be on the list too. So you have it doubled now, sorry.
2010/2/25 Andrew Charles :
> I'm trying to interpolate from one grid to another using Basemap's
> interp function. It seems to want the lat and lon axis of the new grid
>
2010/2/25 Reinier Heeres :
> Of course many 3D engines do this already, but the problem is always
> the integration. Is your engine python based and is the code (freely)
> available? I would be interested in taking a look.
It's C++ code :-( And nearly no comments :-(( I myself will need some
time
2010/2/25 John Hunter :
> We rely on plenty of C++ code so this isn't a problem for us. We would have
> to write an interface layer but it shouldn't be too difficult. The harder
> problem may be dealing tracking the interior vs the edges of the mesh, but
> certainly not insurmountable. If you'd lik
2010/2/25 Eric Firing :
> Is it time for some re-thinking of the approach to 3-D? I am a bystander,
> but I have the uneasy sense that trying to turn mplot3d into a first-class
> 3-D plotting tool may be a misapplication of effort. Might the effort be
> more productive if applied to mayavi, or bui
Ok, it's rereleased now under MIT,
github.com/friedrichromstedt/diagram_cl . I'm having somewhat trouble
accessing my web server at the moment, so please find it on github.
The docu on www.friedrichromstedt.org (see github link) is a bit
outdated, but only with respect to the double-right click set
2010/2/26 Andrew Charles :
> Aye, now that I read the docstring with a rested pair of eyes it's
> clear that xout and yout are meshgrids (rank 2 arrays). Thanks,
> problem solved.
For convenience, I recently heard about numpy.meshgrid, which does the
job for you. See its __doc__, but it's fairly
2010/2/26 Gael Varoquaux :
> What Eric was most probably talking about is the newer versions of
> Mayavi, that we tend to call 'mayavi2', even though we are now up to
> version 3, in particular the mlab interface:
>
> http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html
> I also agree with Reinier. I want my 3d plots to look as close as possible
> to my 2d plots. Because mplot3d uses so much of the same matplotlib core,
> this is trivial. As Friedrich mentioned, the mplot3d code is actually pretty
> small. To me, that is a great feature. I found the mplot
http://www.friedrichromstedt.org/python/pyclip/a01.Zerteilung.pdf
(It's unfortunately in german, but the graphics are self-explaining)
A school mate working together with me on the project has worked that out.
H = number of corners of the front triangle lying inside of the back triangle
V = numbe
Things become more and more complicated with time. I come up with
four things to consider:
First the ring I already mentioned is visualised in attachment
Ring.png. A > C > B > A, no z sorting possible, because no linear
order anymore.
Second, the intersecting line may not always separate a trin
2010/2/26 jamgood96 :
>
> Each time I try to run a script, it just keeps printing, "The time is: The
> time is: Fri Feb 26 13:27:08 2010". over and over. I believe I installed all
> the packages correctly, but honesty was a bit overwhelmed. I've tried
> attaching a screen shot of what is happening.
2010/2/27 David Goldsmith :
> ax.imshow(image[0:ny/2+1, 0:nx/2+1]) # upper left corner of image
> ax.imshow(argW[ny/2+1:-1, 0:nx/2+1]) # lower left corner of image
> ax.imshow(argW[0:ny/2+1, nx/2+1:-1]) # upper right corner of image
> ax.imshow(argW[ny/2+1:-1, nx/2+1:-1]) # lower ri
Bringing this to the list and not to Jon alone ...
2010/3/1 Jon Moore :
> I'm using the Python(x,y) distribution which comes with matplotlib for
> Windows. My OS is Windows XP with all updates and service packs on an
> AMD Athlon 2600+ PC with ATI Radeon 9600 graiphics card.
>
> Python will work f
Do you want something like the attached?
I created it with my package that no-one wants :-(
>>> import diagram_cl
>>> import diagram_cl.kernels.tk
>>> import numpy
>>> import Tkinter
>>> d1 = diagram_cl.Diagram()
>>> series = (numpy.random.random(100) > 0.5).astype(numpy.float)
>>> for idx in xra
2010/3/5 David Goldsmith :
> I think it's a bug in numpy.ma._extrema_operations.reduce (at least Pierre GM
> couldn't explain it away and instructed me to file a bug ticket on it over
> there, which I did; w/ your permission, I'll add your code to that ticket?) -
> at the very least, it should b
2010/3/6 David Goldsmith :
> Yeah, my email client (yahoo!) showed your example submission email as being
> directly to me, not the list, so I assumed that you were sending it directly
> to me because you saw that I had cross-posted to the numpy list. Anyway, I'm
> returning this thread to this
David Goldsmith:
> Ah, ok, not right now (perhaps later): for the purpose of adding your code to
> the numpy bug ticket, I think it's best if I use something a little more
> ubiquitous. ;-) But it looks useful, so I'll probably grab it and try it out
> myself; is it pure python, i.e., should I
2010/3/11 Kim Hansen :
> canvas.get_tk_widget().grid(row=0)
> canvas._tkcanvas.grid(row=1)
I cannot reproduce your problem. Can you maybe provide a
self-contained script to reproduce the behaviour? Here is mine:
>>> import Tkinter
>>> import matplotlib
>>> tk = Tkinter.Tk()
>>> import matplotli
Hello,
I just uploaded just another Tk backend for matplotlib. It can
connect to any Figure instance, also with multiple Axes (although only
one will be active for interactive zooming and panning).
I hope the package is useful because of its special mouse usage.
To pan, click right, hold, and p
I deem it useful if you would add a
print map_XX.shape, map_YY.shape, y.shape .
I'm suspicious about their shape. _check_xyz() accepts 2D X,Y-arrays
only if their shape is equal to that of y (y in your case).
Friedrich
--
I would suggest that you add the axes with:
axes = figure.add_axes((left, bottom, width, height))
instead of .add_subplot(). I think you have too many subplots, it
seems that the algorithm isn't designed for this. With .add_axes(),
you can add more space.
Note that you have then maybe to call
2010/3/14 David Arnold :
> All,
>
> I am having difficulty with a line on: http://scipy.org/LoktaVolterraTutorial
>
> Here are the lines:
>
> values = linspace(0.3, 0.9, 5)
>
> vcolors = p.cm.autumn_r(linspace(0.3, 1., len(values)))
>
> First of all, I can find no reference to autumn_r in the Mat
For the Windows machine, if you installed with the superpack, you
should find an deinstaller in the Python directory called
"Removematplotlib.exe", I *guess* it only removes in fact the
matplotlib package. You can also safely rename (or delete) the old
matplotlib directory and the mpl_toolkits dir
Maybe:
from matplotlib import pyplot as plt
figureOne = plt.figure()
axesOne = figureOne.add_axes([0, 0, 1, 1])
axesOne.plot([-1, 1], [-2, 2])
axesOne.plot([-2, 2], [-1, 1])
axesOne.set_xlim((-3, 3))
axesOne.set_ylim((-3, 3))
figureOne.set_figwidth(2)
figureOne.set_figheight(2)
plt.savefig("Fri
2010/3/4 Timo Heine :
> Basically what I want to do is to draw a horizontal line with relative y
> co-ordinates and absolute xmin and xmax co-ordinate. Then I could draw a
> line when a bit is high and have it always in plot area even when zooming
> etc. Like axhline(...) but with relative y and ab
2010/3/18 Ciarán Mooney :
>value = (log(x)/log(largest))*255
Just two thoughts:
1) I doubt the statement cited above is not correct, as it may also
yield negative values as soon as 0 < x < 1. In fact, you are
calculating log_{largest}(x). This crosses zero for x = 1. Wh
2010/3/20 Ciarán Mooney :
> I am using PIL because I plan to plug in a Tkinter interface which can
> directly accept PIL image instances.
You can render matplotlib figures to PIL using following code:
figure.set_size_inches(float(shape[0]) / figure.dpi, float(shape[1]) /
figure.dpi)
canvas = mat
I'm not shure whether the following suggestion solves your problem,
but it would simplify your script anyway.
import matplotlib
...
setup(..., data_files = matplotlib.get_py2exe_datafiles())
And maybe don't forget to exclude 'libgdk_pixbuf-2.0-0.dll' (on my
system) in 'dll_excludes'. But I actua
You must give a proper :param width: argument:
plt.bar(bins, height, 0.01)
http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.bar
Friedrich
2010/3/25 timothee cezard :
> Hi all,
> I'm trying to plot a distribution using bar() but when I'm setting the
> left variable to
2010/3/24 Jonno :
> Well I realized my error with the extra window being caused by the
> TopLevel() command. I switched this to Tk.Tk() and it works nicely.
> However I still have to pack the frame instead of using grid. I can
> work around this but I wonder if there isn't something else I'm
> miss
2010/3/26 timothee cezard :
> does it make sense to use something like
> plt.bar(bins, nb_per_bin, width=(max(bins)-min(bins)) / (1.5*len(bins)))
I think that should work, although you should use (max(bins) -
min(bins) / 1.5 / (len(bins) - 1), but I would suggest:
bounds = {some N + 1 array}
cent
2010/3/27 Ariel Rokem :
> I am trying to make a color-map which will respond to the range of values in
> the data itself. That is - I want to take one of the mpl colormaps and use
> parts of it, depending on the range of the data.
>
> In particular, I am interested in using the plt.cm.RdYlBu_r colo
2010/3/28 Filipe Pires Alvarenga Fernandes :
> Hello list
> I've trying for a while a "python only" solution to remove white spaces that
> Basemap generate to keep the aspect ratio. I found these two threads that
> explain the issue better:
I think maybe you can make use of the Agg Backend to ach
2010/3/28 Ariel Rokem :
> Hi Chloe,
>
> _segmentdata - that's what I was looking for!
Hmm, much easier would maybe be:
colorbar = figure.colorbar(...)
colorbar.ax.set_xlim((C.min(), C.max()) # Or .set_ylim() for vertical cbars.
I just did a dive into the matplotlib code and docu:
http://matplo
2010/3/29 Alan G Isaac :
> OK, it's obvious one you point it out.
> Sorry for the typo in the example.
>
> Now suppose I want a colorbar labelled at -1, 0, 1
> but the highest value realized is <1. Can I somehow
> use ticks=(-1,0,1) anyway, or do I have to tick at
> the realized limits and then la
2010/3/28 Chloe Lewis :
> That would be a lot nicer, Friedrich; could you share demo code? I can't
> make the set_ylim work, but I think I'm being clumsy with the object model.
It seems that I cannot read the sections following after the "From
this:" and "I get this:"?
But anyway, I solved it fo
matplotlib.ticker:748:
# ORIGINAL:
# step = max(int(0.99 + len(self.locs) / float(self.nbins)), 1)
step = int(math.ceil(len(self.locs) / (self.nbins + 1)))
There is a from __future__ import division statement.
Who verifies (or falsifies)? I checked with values len(locs)
I noticed that colorbar.Colorbar treats segmentation via *boundaries*
as compulsory, i.e., it thinks it must tick at the *boundaries* or
nowhere. Wouldn't it be useful to have an kwarg which overrides this
and always uses ticker.MaxNLocator()?
Friedrich
--
2010/3/29 Alan G Isaac :
> Can you explain this:
> norm = colors.Normalize(vmin = -1, vmax = 1)
The normaliser takes some arbitrary value and returns a value in [0,
1]. Hence the name. The value \in [0, 1] is handed over to the
cmap's __call__(), resulting in the color value. And yes, I guess y
2010/3/29 Eric Firing :
> It already has this. You can pass in a custom locator or set of tick
> locations via the "ticks" kwarg, but if you don't, a locator is chosen
> automatically. Except in special cases, this will be a MaxNLocator. See the
> ColorbarBase._ticker method.
Ah, thanks, It esca
2010/3/29 Friedrich Romstedt :
> Note that the ticking is a bit weird, there is also a bug in
> matplotlib I will report on right after this e-mail, whose bugfix you
> will maybe want to apply to get ticking properly working. When you
> have insane values for C.min() and C.max()
2010/3/30 Ariel Rokem :
> I ended up with the code below, using Chloe's previously posted
> 'subcolormap' and, in order to make the colorbar nicely attached to the main
> imshow plot, I use make_axes_locatable in order to generate the colorbar
> axes. I tried it out with a couple of use-cases and i
2010/3/30 Filipe Pires Alvarenga Fernandes :
> However, my knowledge of python is very limited, even though I think I
> understood what you suggested I do not know how to get the shape (of
> the figure?) for this part:
>
fig.set_size_inches(float(shape[0]) / dpi, float(shape[1]) / dpi)
>
> err
2010/3/30 Chloe Lewis :
> But this example doesn't solve the problem I was thinking of: it shows lots
> of colors in the colorbar that aren't used in the plot.
I'm so stupid! Here is the correct code. I just interchanged
"-bounds, bound" with "min_val, max_val" on line 28. The only thing I
didn
The list config got me, so to the list too ...
2010/3/31 Matthias Michler :
> On Wednesday 31 March 2010 09:24:10 yogesh karpate wrote:
>> Dear All,
>>I am using one image of 235X130 and plotting the curve on
>> it, now when i save it it goes in the resoltuion of 800X600,
>> I wa
2010/4/1 ericyosho :
> And we know that for points with coordination, scatter must be the
> simplest way to visualize them.
> Is there any trick to convert a scatter graph into a surface picture directly?
I'm afraid not, because one needs an algorithm to infer the connectivity :-(
Friedrich
You forgot about the attachment?
Friedrich
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See
Hmm, I wrote one time a lazy-import module, you create objects and use
their attributes, but the object imports the module not earlier than
the first attribute access. Thus these objects are used like the
module via "import module". I.e., module = Lazy('matplotlib.module').
There are also wrappe
I think it should be possible to do unsorted scatter plot, so you can
avoid the second loop. Maybe the current source doesn't allow for,
but it's certainly possible (hu, I'm not that aquainted with current
z-sorting code, so maybe I'm wrong?) It may be that current z-sorting
uses the mesh grid.
O
Oh, sorry, it was late at night, and so on, but in fact you said it's
a standard example, so well ... I was wrong.
Friedrich
2010/4/1 Friedrich Romstedt :
> You forgot about the attachment?
>
> Friedrich
>
--
2010/4/8 Filipe Fernandes :
> BTW: What I meant by limitation is the fact that Agg has no GUI like the
> nice QT window I was using before. The users of this script have no
> experience with scripting languages and enjoyed choosing the format and
> filename using a GUI interface.
I'm quite convinc
2010/4/3 ms :
> I am trying to use griddata to plot some (irregularly) spaced data as a
> contour plot, but sometimes ALL the grid it outputs is masked: so no plot.
>
> In the docs I read:
> "A masked array is returned if any grid points are outside convex hull
> defined by input data (no extrapola
2010/4/4 ericyosho :
> Year, I think we could do unsorted scatter plot as well, however I'm
> still not satisfied with the book tracking routines I have to check
> when doing the surface plotting.
What do you mean with "book tracking routines"?
Anyway, maybe griddata would help you:
http://matplo
I think the Figure you create may be not registered in the pylab
framework, and indeed I think this is not a bug. The --pylab switch
tries to obtain the active figure, but because there is no active
pyplot-Figure, it gets None from get_active() in your traceback. Then
it fails.
I think --pylab i
2010/4/11 tomislav_ma...@gmx.com :
> can someone help me to plot a polygon in matplotlib?
> I have been reading about the axes.patches.Polygon class and I have defined
> the
> Polygon object that has a preset lw and points. How do I plot it?
Here
http://matplotlib.sourceforge.net/api/axes_api.htm
2010/4/11 Alan G Isaac :
> On 4/11/2010 9:27 AM, Friedrich Romstedt wrote:
>> I think you can use Tk via the Tkinter Python package. On linux I
>> heard it's looking a bit weird, but as a starting points it's easy
>> enough.
>
> Weird how?
> Will that be fi
2010/4/12 Filipe Pires Alvarenga Fernandes :
> Thanks for point TKinter to me. However, I'm stuck again.
>
> I've tried two approaches, one is following what you suggested:
>
> """ Tkinter """
> import Tkinter as tk
> root = tk.Tk()
> from PIL import Image, ImageTk
> image = ImageTk.PhotoImage(Ima
2010/4/14 Jon Moore :
> Hi,
>
> Find attched log.txt generated when trying to run your script. Any
> thoughts?
Sounds like a typo to me. Please give the new version of crashtest.py
a try, it prints stack tracebacks for each import statement into the
file, so we *should* be able to track it down
2010/4/14 Andreas Hilboll :
> So my question is: What do I need to do so that the colorbar actually has
> the
> range as specified by my colorNorm?
We had a beautiful discussion about this recently under "Making a
data-driven colormap", maybe this helps.
Friedrich
--
2010/4/15 KrishnaPribadi :
> Is there any way to just turn
> off the exponent number in the right corner and force the x tick labels to
> be integers or floating point depending on how close one is zoomed?
Have a look at matplotlib/ticker.py. Most classes in ticker.py are
derived from class ticke
http://matplotlib.sourceforge.net/api/ticker_api.html#matplotlib.ticker.FuncFormatter
2010/4/10 konstellationen :
>
> For future reference, the solution proposed by Gökhan and Diakronik is to
> replace the Latex tick-labels with strings:
>
>>import matplotlib.pyplt as plt
>>tick_locs = range(start
2010/4/19 Friedrich Romstedt :
> http://matplotlib.sourceforge.net/api/ticker_api.html#matplotlib.ticker.FuncFormatter
> For exponential ticks, I would propose (but it's untested):
>
>>>> def exp_fmt(loc):
> exponent = numpy.round(numpy.log10(loc))
>
2010/4/19 Eric Firing :
> David Ho wrote:
>> Just as an illustration, I'm looking for a nice way to plot something
>> like this:
>> http://labrosa.ee.columbia.edu/matlab/sgram/
>>
>> I don't necessarily need a weighting matrix to convert the Pxx array,
>> which is what Dan Ellis' code does; I just
2010/4/19 Michael Droettboom :
> Friedrich Romstedt wrote:
>>
>> What is the advantage of using
>> matplotlib.ticker.ScalarFormatter(useMathText = True) then, when it's
>> typeset in outside-math font anyway?
>>
>
> It's the only way to get super
Ok adding:
#define png_infopp_NULL (png_infopp)NULL
#define int_p_NULL (int*)NULL
to the beginning of src/_png.cpp fixes the problem. At least now the
build succedes. Maybe this could be enclosed in an #ifndef-#endif
branch?
Friedrich
2010/5/5 Friedrich Romstedt :
> Trying to bu
2010/5/7 Bartosz Telenczuk :
> Dear all,
>
> I am working on figures for my thesis, which consist of several related
panels. Each of the panel contains several subplots. In order to arrange the
plots I would like to split the figure into two (or more) panels and within
each of them create a nested
Hi,
I appreciate all the effort and, lastly, the large functionality
offered by matplotlib. But I found no way around formulating things a
bit provocative on
http://friedrichromstedt.github.com/matplotlib-grayscale/index.html.
The project is about matplotlib-grayscale, a matplotlib patch that
ai
2011/10/20 Eric Firing :
> Friedrich (or others),
>
> I hope you will consider the following to be constructive.
I agree :-/ It was very very late in the night [5:30 a.m.], so things
happen, but I think that's no kind of excuse for my rude tone in that
email. I'm sorry.
> I understand one use c
2011/10/20 Benjamin Root :
> I have been doing some thinking about this problem and how it could relate
> to issues I have encountered in my work on mplot3d. The key problem I
> encounter there is that shading of the colors needs to be performed based on
> perspective (rotation of the scene and su
I want to do some corrections and alterations to my last mail, because
it troubles me.
2011/10/21 Friedrich Romstedt :
> I believe the one and only solution would, if thought thru completely,
> unveil that we need functional approach to get better results. In
> matplotlib, each type of
2011/10/21 Friedrich Romstedt :
> I will try to dig out that emails.
Did that, the email I meant dates back to 10 November 2010! Here's the snippet:
(Ben Root):
> I am curious, could this approach you have done be generalized to any sort
> of color transformation? Admittedly,
Hi,
as announced on the devel list here my report on "my" Bus error.
I first noticed the Bus error with a freshly compiled version from
today's git. A ``import matplotlib.figure`` was sufficient to produce
the bus error. ``python2.6 -v`` showed that it appears when
matplotlib.ft2font is importe
2011/11/10 Benjamin Root :
> On Wednesday, November 9, 2011, Friedrich Romstedt
> wrote:
>> ``git bisect`` finds "some" first bad commit, but due to the commits
>> in other branches after the first real bad commit it gets it a bit
>> wrong. The binary search
2011/11/10 Michael Droettboom :
> Can you get a traceback from gdb? The following should do it:
>
> gdb python2.6
For some reason I cannot load python2.6 from gdb:
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries .. done
(gdb) run
Starting program:
/Li
2011/11/11 Michael Droettboom :
> On 11/10/2011 05:16 PM, Friedrich Romstedt wrote:
>> Furthermore, Michael is right, while bisecting I didn't ``rm build/``
>> properly; I just did ``python2.6 setup.py clean``. Later on I did that
>> properly, after I noticed that the of
2011/11/11 Michael Droettboom :
> Running bisect in this way, did you arrive at a more conclusive
> determination about which commit may have introduced the problem?
Yes, do you know Final Fantasy? "You gonna loose it ... Tracking ...
Tracking ... Found it." af9954d46e.
I don't know which part
2011/11/11 Michael Droettboom :
> Very odd. Given there's no C++ changes here, I'm very surprised. Shooting
> in the dark here: does deleting ~/.matplotlib/fontList.cache help at all?
Nope :-(
I'm pretty much surprised too. I wonder why noone else has this issue?
I replaced the font_manager.p
ing a mechanism to throw the fontcache away if the
matplotlib version number does not match the version number stored in
the fontcache.
2011/11/12 Friedrich Romstedt :
> 2011/11/11 Michael Droettboom :
>> Very odd. Given there's no C++ changes here, I'm very surprised. Shooting
2011/11/12 Friedrich Romstedt :
> To give the valuable information in the beginning: It appears it
> cannot handle /Library/Fonts/NISC18030.ttf. It tries to load it via
> ft2font.FT2Font() but that gives the Bus error. The ttf file dates to
> 28 Jan 2010. It is 7108232 bytes lar
2010/12/7 Kaushik Ghose :
> Hi Guys,
>
> I did a search on the mailing list but could not come up with a solution, so I
> am crying "Uncle" and writing.
>
> I installed matplotlib 1.0.0 from the package on SF
> (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1
Hi Michael,
Hi Ranjit,
2010/6/29 Ranjit Chacko :
> I've been having some trouble with compiling matplotlib on Snow Leopard. I
> managed to get rid of all my old problems by recompiling everything with
> gcc-4.2.
>
> But now when I import matplotlib.pyplot I get an Abort trap message and
> python q
2011/11/12 Friedrich Romstedt :
> 2011/11/12 Friedrich Romstedt :
>> To give the valuable information in the beginning: It appears it
>> cannot handle /Library/Fonts/NISC18030.ttf. It tries to load it via
>> ft2font.FT2Font() but that gives the Bus error. The ttf file da
2011/11/12 Friedrich Romstedt :
> 2011/11/12 Friedrich Romstedt :
>> A quick googling of "NISC18030.ttf matplotlib" yields this interesting
>> result:
>> http://groups.google.com/group/sage-devel/browse_thread/thread/2c538915abc99946
>
> And this: http://tr
This is my summary of what I found out.
2011/11/12 Friedrich Romstedt :
> So to me this looks pretty much like a gcc-4.2 bug.
>
> MACOSX_DEPLOYMENT_TARGET has nothing todo with the source code. It
> *should* just add a legacy layer. What it apparently does is to
> compile for 10
2011/11/12 Friedrich Romstedt :
> This is my summary of what I found out.
Some small follow-up regarding what might trigger the bug:
http://comments.gmane.org/gmane.comp.python.matplotlib.general/1115 is
a report by Chris Barker indicating as a side-effect that
NISC18030.ttf was present even
2011/11/12 Friedrich Romstedt :
> $ stat -f "" /Library/Fonts/NISC18030.ttf
> Last accessed or modified: 1321107464 = 12 Nov 2011
> Last changed: 1264652963 = 28 Jan 2010
> Time of Birth: 1292365840 = 14 Dec 2010
The file might have been created earlier; the date 14 Dec
2011/11/14 Michael Droettboom :
> Thanks for all the time you've devoted to this. It does look like possibly
> some kind of compiler bug. The font loads and renders fine on Linux, for
> what it's worth (just as a data point).
>
> To confirm this theory: if you move NISC1803.ttf somewhere temporar
2011/11/24 Ignas Anikevicius :
> Dear list,
>
> I have been trying to build matplotlib with python2 *and* python3
> support. I am using Gentoo and a custom ebuild which can be found on
> gnlay overlay[1]. However, I had a build error while trying to compile
> 'src/ft2font.cpp' (see the log attached
2011/11/24 Marianne C. :
> On Thu, Nov 24, 2011 at 3:48 PM, Marianne C. wrote:
>> Hi all,
>>
>> My name is Marianne, I am a beginner user of matplotlib.
>> I am using imshow in pyplot. I am desperate to get rid of
>> the ticks on both x and y axes (see attached picture). I
>> do not need the bla
2011/11/24 Ignas Anikevicius :
> I have probably found out the cause in the difference. The relevant
> part of the log for the Python 2.7 build:
> ---
> running build_ext
> building 'matplotlib.ft2font' extension
> creating build-2.7/temp.linux-x86_64-2.7
> creating build-2.
> I am having troubles getting matplotlib to install. I have mac os X lion
> with Xcode 4.2.1 installed and I have used git to get the latest version of
> matplotlib. I am also running python 2.7.2 from the python.org site. The
> installation process was going fine based on the make.osx file
2012/2/7 John Hunter :
> On Mon, Feb 6, 2012 at 1:59 PM, Benjamin Root wrote:
>> [...]
>
> [...]
>
>> About a week later, I got a personal email from the original poster
>> informing me that my solution worked perfectly. He also noticed that I was
>> working in a neighboring building on campus an
Am 01.03.2012 um 17:59 schrieb Jean-Baptiste Marquette :
> Dear Python gurus,
>
> I have written the attached script to plot data from SAMP interaction with
> TOPCAT (http://www.star.bris.ac.uk/~mbt/topcat/).
> I select a row on a given table (VOtable format) in TOPCAT, got the message
>
> Sele
Hi,
Am 14. November 2011 15:04 schrieb Friedrich Romstedt
:
> 2011/11/14 Michael Droettboom :
>> Thanks for all the time you've devoted to this. It does look like possibly
>> some kind of compiler bug. The font loads and renders fine on Linux, for
>> what it
2010/5/25 Pim Schellart :
> I tried both and although it now seems to find the libraries it still
> fails to link something.
>
> src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope
> src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope
I compiled matplotl
1 - 100 of 199 matches
Mail list logo