##// END OF EJS Templates
Do not generate output for empty figures in Qt console....
Do not generate output for empty figures in Qt console. Before, calling figure() would produce a big blank area. This ensures output is only returned if the figure has content. Also added basic testing for pylabtools, for which we had none.

File last commit:

r3408:261328d5
r3731:57d3cb1a
Show More
__init__.py
8 lines | 330 B | text/x-python | PythonLexer
try:
import validate
if '__docformat__' in validate.__all__ and validate.__version__.split('.') >= ['1', '0', '1']:
# __docformat__ was removed in 1.0.1 but
validate.__all__ = [i for i in validate.__all__ if i != '__docformat__']
from validate import *
except ImportError:
from _validate import *