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 the PS class:
    def set_canvas_size(self, w, h, pswriter):
        'Dimension the drawing canvas; may be a noop'
        self.width  = w
        self.height = h
        self.pswriter = pswriter

Why is the float converted to int in the first case, and not in the second?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to