We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e757f commit db6fe22Copy full SHA for db6fe22
doc/source/_static/js/custom-copy.js
doc/source/conf.py
@@ -466,12 +466,10 @@
466
# If false, no module index is generated.
467
# latex_use_modindex = True
468
469
-# Configure copybutton to strip Python REPL prompts and output when copying
470
-toggleprompt_prompt_text = r">>> |\.\.\.:|In \[\d+\]:|Out\[\d+\]:"
471
-toggleprompt_is_regexp = True
+# Configure copybutton to strip Python REPL prompts and output when copying code cells
+copybutton_prompt_text = r">>> |\.\.\.:|In \[\d+\]:\n?|Out\[\d+\]:\n?"
+copybutton_prompt_is_regexp = True
472
473
-copybutton_prompt_text = ''
474
-copybutton_is_regexp = False
475
476
if include_api:
477
intersphinx_mapping = {
0 commit comments