daishi harada

Show:

What's happening?

  • Comment: Small upgrades to platform.platform()

    Logged In: YES user_id=493197 Thanks for the response. If by "break" you mean that for redhat-like distros the output of `python platform.py` would no longer necessarily be the same after the patch is applied, yes, that's true. However, that was the primary motivation for the patch - the current platform.py wasn't sufficiently discriminating for my purposes. In particular, the...

    2006-10-09 23:22:25 UTC in Python

  • Using new scipy

    This patch allows one to use matplotlib with (just) the new scipy. The matplotlib built with this patch and just the new scipy passes the examples/backend_driver.py test with errors only occuring on those tests which explicitly includes numarray, and a few others which i believe are unrelated to the patch. (I will attach the output of the backend_driver.py test also) I can't seem to...

    2005-11-19 01:47:09 UTC in matplotlib

  • Comment: Small upgrades to platform.platform()

    Logged In: YES user_id=493197 assigning to lemberg as suggested in the file.

    2005-11-10 01:23:05 UTC in Python

  • Small upgrades to platform.platform()

    This patch updates platform.platform() to recognize some more Linux distributions. In addition, for RedHat-like distributions, will use the contents of the /etc/ to determine distname.

    2005-11-10 01:19:42 UTC in Python

  • Comment: nit for builtin sum doc

    Logged In: YES user_id=493197 This is relatively minor so I don't mean to push particularly hard, but I'd like to at least show how the docstring made me stray: >>> sum([x] for x in xrange(10)) Traceback (most recent call last): File "", line 1, in ? TypeError: unsupported operand type(s) for +: 'int' and 'list' >>> help(sum) Help on built-in function sum in module...

    2005-09-07 19:02:32 UTC in Python

  • Comment: nit for builtin sum doc

    Logged In: YES user_id=493197 This is relatively minor so I don't mean to push particularly hard, but I'd like to at least show how the docstring made me stray: >>> sum([x] for x in xrange(10)) Traceback (most recent call last): File "", line 1, in ? TypeError: unsupported operand type(s) for +: 'int' and 'list' >>> help(sum) Help on built-in function sum in module...

    2005-09-07 19:02:03 UTC in Python

  • nit for builtin sum doc

    the docstring signature for sum in bltinmodule.c should be changed from: sum(sequence, start=0) to: sum(sequence[, start]) to reflect the current implementation in builtin_sum. (or else the implementation should be changed to accept kwargs.)

    2005-09-07 00:18:50 UTC in Python

  • Adding dashes to tick labels

    This patch augments the labels used for ticks. Currently ticks labels are simply Text instances. This is changed to be instances of a new TextWithDash class.

    2005-05-25 22:39:52 UTC in matplotlib

  • PS backend outputs 'nan'

    Take the following: --- import matplotlib.pylab as pylab nan = float('nan') pylab.plot([1.0, nan, 2.0]) pylab.savefig('test') pylab.show() --- The graphical backends (I tried WXAgg and TkAgg) behave as though the 'nan' data point was simply ignored (though providing "spacing" on the X axis). The PS backend, however, inserts the string 'nan' into the output file where a...

    2005-04-15 01:22:49 UTC in matplotlib

  • Minor docstring nits

    In ticker.py: FixedLocator is defined in code but not in the module docstring. IndexFormatter is described in module docstring but the class is not defined in code. In axis.py: The class Tick's docstring for tick1On and tick2On should presumably read: (bottom for xticks and left for yticks) and (top for xticks and right for yticks) respectively. It might be clearer to...

    2005-03-24 23:12:31 UTC in matplotlib

About Me

  • 2002-03-22 (8 years ago)
  • 493197
  • daishiharada (My Site)
  • daishi harada

Send me a message