Look what happened to my beautiful code :(
'''A script for seemlesly copying the data from the stix-tbl.ascii*
file to a set
of python dicts. Dicts are then saved to .py coresponding files, for
later retrieval.
Currently used table file:
http://www.ams.org/STIX/bnb/stix-tbl.ascii-2005-09-24
'''
Thanks John and Fernando,
You're right. I'll change the scripts to generate pure Python modules,
but I'll leave the "manual" module.
As for Unicode, I fully understand what you mean John, and I'm planing
to try to get mathtext to work with the fonts I mentioned to you a
while ago:
http://canopus.
In the Non-PostScript font classes in mathtext.py the set_canvas_size is
def set_canvas_size(self, w, h):
'Dimension the drawing canvas; may be a noop'
self.width = int(w)
self.height = int(h)
for font in self.fonts.values():
font.set_bitmap_size(int(w), int(h))
While in th
> "Martin" == Martin Spacek <[EMAIL PROTECTED]> writes:
Martin> Whoops. Forgot to include the patches for CHANGELOG and
Martin> API_CHANGES. I updated barh_demo.py as well, and tested
Martin> the rest of the bar demos. Here's the combined patch
Martin> against 2515.
Martin
Whoops. Forgot to include the patches for CHANGELOG and API_CHANGES. I
updated barh_demo.py as well, and tested the rest of the bar demos.
Here's the combined patch against 2515.
Sorry for the hassle, I'm a bit new at this.
Cheers,
Martin
John Hunter wrote:
"Martin" == Martin Spacek <[EMAIL
> "Martin" == Martin Spacek <[EMAIL PROTECTED]> writes:
Martin> Ah, I was just working off the axes.py file from
Martin> viewcvs. I've checked out now from /trunk/matplotlib/
Martin> (using tortoise svn). Hopefully this new patch file will
Martin> work.
Making progress - I was
John Hunter wrote:
> I can live with that -- did you test your work with the table_demo?
I just tried table_demo, looks good, bars are nicely centered (had to
set my rcparams axes.hold to True to get all four colours of bars).
I'm having trouble applying your patch because of the way the file
On 6/23/06, John Hunter <[EMAIL PROTECTED]> wrote:
> > "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes:
> Edin> The reason why I used pickle - from the Python docs: =
>
> I have had bad experiences in the past with pickle files created with
> one version that don't load with another.
> "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes:
Edin> I thought that the idea was to allow users to write unicode
Edin> strings directly in TeX (OK, this isn't much of an excuse
No, this is not the reason. Someone may want to do that one day so it
is good to keep the possibilit
> "Edin" == Edin Salkovi§ <[EMAIL PROTECTED]> writes:
Edin> The reason why I used pickle - from the Python docs: =
I have had bad experiences in the past with pickle files created with
one version that don't load with another. I don't know if that is a
common problem or if others have
> "Martin" == Martin Spacek <[EMAIL PROTECTED]> writes:
Martin> I suppose I'm a bit jaded towards edges because I tend to
Martin> make histograms and not bar graphs, but we can have it
Martin> both ways.
I can live with that -- did you test your work with the table_demo?
Mart
On 6/22/06, John Hunter <[EMAIL PROTECTED]> wrote:
> Since you asked :-)
>
> I may not have mentioned this but the style conventions for mpl code
> are
>
> functions : lower or lower_score_separated
> variables and attributes : lower or lowerUpper
> classes : Upper or MixedUpper
OK
> Also,
12 matches
Mail list logo