summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/shellapp.py
diff options
context:
space:
mode:
authorAlexSm <[email protected]>2024-06-18 16:09:09 +0200
committerGitHub <[email protected]>2024-06-18 16:09:09 +0200
commitae6be33d4462d1c1f93d7f99a9775167108fb09a (patch)
treea9a2819f51548e8e55c59c48b74880f4e3f0e978 /contrib/python/ipython/py3/IPython/core/shellapp.py
parent23e9c2f910ca634005304f9f8085adaf5b963463 (diff)
parent5f058ae362f1af85ec0d816cc96eaca1c1750dab (diff)
Merge pull request #5661 from ydb-platform/mergelibs-240618-0830
Library import 240618-0830
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/shellapp.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/shellapp.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/shellapp.py b/contrib/python/ipython/py3/IPython/core/shellapp.py
index 99d1d8a9f44..3815a0ecb92 100644
--- a/contrib/python/ipython/py3/IPython/core/shellapp.py
+++ b/contrib/python/ipython/py3/IPython/core/shellapp.py
@@ -82,12 +82,14 @@ shell_flags['nosep']=(nosep_config, "Eliminate all spacing between prompts.")
shell_flags['pylab'] = (
{'InteractiveShellApp' : {'pylab' : 'auto'}},
"""Pre-load matplotlib and numpy for interactive use with
- the default matplotlib backend."""
+ the default matplotlib backend. The exact options available
+ depend on what Matplotlib provides at runtime.""",
)
shell_flags['matplotlib'] = (
{'InteractiveShellApp' : {'matplotlib' : 'auto'}},
"""Configure matplotlib for interactive use with
- the default matplotlib backend."""
+ the default matplotlib backend. The exact options available
+ depend on what Matplotlib provides at runtime.""",
)
# it's possible we don't want short aliases for *all* of these:
@@ -114,7 +116,7 @@ shell_aliases['cache-size'] = 'InteractiveShell.cache_size'
class MatplotlibBackendCaselessStrEnum(CaselessStrEnum):
"""An enum of Matplotlib backend strings where the case should be ignored.
- Prior to Matplotlib 3.9.1 the list of valid backends is hardcoded in
+ Prior to Matplotlib 3.9.0 the list of valid backends is hardcoded in
pylabtools.backends. After that, Matplotlib manages backends.
The list of valid backends is determined when it is first needed to avoid
@@ -205,12 +207,14 @@ class InteractiveShellApp(Configurable):
matplotlib = MatplotlibBackendCaselessStrEnum(
allow_none=True,
help="""Configure matplotlib for interactive use with
- the default matplotlib backend.""",
+ the default matplotlib backend. The exact options available
+ depend on what Matplotlib provides at runtime.""",
).tag(config=True)
pylab = MatplotlibBackendCaselessStrEnum(
allow_none=True,
help="""Pre-load matplotlib and numpy for interactive use,
selecting a particular matplotlib backend and loop integration.
+ The exact options available depend on what Matplotlib provides at runtime.
""",
).tag(config=True)
pylab_import_all = Bool(