We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cf45c6 commit 2e0867dCopy full SHA for 2e0867d
fire/inspectutils.py
@@ -256,7 +256,10 @@ def Info(component):
256
"""
257
try:
258
from IPython.core import oinspect # pylint: disable=import-outside-toplevel,g-import-not-at-top
259
- inspector = oinspect.Inspector()
+ try:
260
+ inspector = oinspect.Inspector(theme_name="Neutral")
261
+ except TypeError: # Only recent versions of IPython support theme_name.
262
+ inspector = oinspect.Inspector()
263
info = inspector.info(component)
264
265
# IPython's oinspect.Inspector.info may return '<no docstring>'
0 commit comments