Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add startup option consistent with Numpy/Scipy coding guidelines #22

Closed
spyder-bot opened this issue Feb 16, 2015 · 3 comments
Closed

Comments

@spyder-bot
Copy link
Collaborator

From [email protected] on 2009-09-02T06:38:58Z

Hi,
It would be nice if Spyder had a startup option that was consistent with
the coding style guidelines for numpy and scipy as documented here: http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines import numpy as np
import scipy as sp
import matplotlib as mpl
import matplotlib.pyplot as plt

The attached spyder.py has a new option --spack (scientific packages) that
enables this capability.

Attachment: spyder.py

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=22

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-09-03T14:26:04Z

You're right, if there are guidelines, let's follow them.

Here is what could be done, as a compromise:

  • option --basics: (this option may be enabled by default)
    import numpy as np
    import scipy as sp
    import matplotlib as mpl
    import matplotlib.pyplot as plt
  • option --all:
    import numpy as np
    import scipy as sp
    import matplotlib as mpl
    import matplotlib.pyplot as plt
    import sys, time, re, os, os.path as osp
    from pylab import *

Status: Accepted
Labels: -Type-Defect Type-Enhancement Milestone-Release1.0

@spyder-bot spyder-bot added this to the Release1.0 milestone Feb 16, 2015
@spyder-bot
Copy link
Collaborator Author

From [email protected] on 2009-09-04T09:43:07Z

That sounds great to me.

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2009-09-05T06:17:37Z

done in v1.0.0beta6

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants