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

'matplotlib: list index out of range' when no title given, but only sometimes #190

Closed
guyer opened this issue Sep 19, 2014 · 1 comment
Closed

Comments

@guyer
Copy link
Member

guyer commented Sep 19, 2014

The first lines from issue #187

>>> from fipy import *
>>> mesh_orig = (Grid2D(nx=8, ny=2) + [[-2], [4]]) + Grid2D(nx=4, ny=4)
>>> var_orig = CellVariable(mesh=mesh_orig)
>>> Viewer(vars=var_orig).plot()

throw

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/guyer/Documents/research/FiPy/trunk/<ipython console> in <module>()

/Users/guyer/Documents/research/FiPy/trunk/fipy/viewers/__init__.pyc in Viewer(vars, title, limits, **kwlimits)
119 
120     if len(vars) > 0:
--> 121         raise ImportError, "Failed to import a viewer: %s" % str(errors)
122 
123     if len(viewers) > 1:

ImportError: Failed to import a viewer: [list index out of range', 'gist: No module named gist', 'gnuplot: invalid syntax (gnuplot1DViewer.py, line 76)', 'mayavi: No module named mayavi']('matplotlib:)

with trunk@3518. This is probably related to the changes of the meaning of title="" vs. title=None.

Imported from trac ticket #286, created by guyer on 03-30-2010 at 13:19, last modified: 03-30-2010 at 14:11

@guyer
Copy link
Member Author

guyer commented Sep 19, 2014

r3519 reverts r3295

Trac comment by guyer on 03-30-2010 at 14:11

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