[SciPy-dev] plt

Jochen Küpper jochen at jochen-kuepper.de
Sun Oct 21 00:24:00 CDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a good reason not to check whether plt is available? That is,
what's about the following?

Index: __init__.py
===================================================================
RCS file: /home/cvsroot/world/scipy/__init__.py,v
retrieving revision 1.47
diff -u -r1.47 __init__.py
- --- __init__.py 2001/10/16 00:42:55     1.47
+++ __init__.py 2001/10/21 05:23:49
@@ -94,6 +94,13 @@
 # Level 2
 _plot = []
 try:
+    import plt
+    __all__.append('plt')
+    _plot.append('plt')
+except ImportError:
+    pass
+
+try:
     import xplt
     __all__.append('xplt')
     _plot.append('xplt')

Greetings,
Jochen
- -- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GnuPG <http://www.gnupg.org/>

iD8DBQE70lvwiJ/aUUS8zY4RAgO9AJ4qiawL2eCfRSvX8TuH2Pi8k4lg4ACgkzoU
rizePRr+Fex7ltHHkWEKt+4=
=Wx/j
-----END PGP SIGNATURE-----




More information about the Scipy-dev mailing list