robdmc / pandashells

:panda_face: Bringing the python data stack to the shell prompt
Other
791 stars 26 forks source link

Make p.df not depend on any plotting libraries unless plotting called for #8

Closed robdmc closed 9 years ago

robdmc commented 10 years ago

import plot_lib causes dependencies on mpld3 which I don't really want unless someone is actually running plots.

robdmc commented 10 years ago

Probably not going to do this or a while -- bigger fish to fry.

robdmc commented 10 years ago

Maybe leave off pylab as pl in modulesOK.

Then loop through all elements of sys.argv to see if a plot is called for. If so, import pylab as pl and import plot_lib