Show More
@@ -190,6 +190,8 b' class IPythonWidget(FrontendWidget):' | |||||
190 | if self._previous_prompt_obj and \ |
|
190 | if self._previous_prompt_obj and \ | |
191 | self._previous_prompt_obj.number != previous_prompt_number: |
|
191 | self._previous_prompt_obj.number != previous_prompt_number: | |
192 | block = self._previous_prompt_obj.block |
|
192 | block = self._previous_prompt_obj.block | |
|
193 | ||||
|
194 | # Make sure the prompt block has not been erased. | |||
193 | if block.isValid() and not block.text().isEmpty(): |
|
195 | if block.isValid() and not block.text().isEmpty(): | |
194 |
|
196 | |||
195 | # Remove the old prompt and insert a new prompt. |
|
197 | # Remove the old prompt and insert a new prompt. |
@@ -81,7 +81,7 b' class RichIPythonWidget(IPythonWidget):' | |||||
81 | # Add other plot formats here! |
|
81 | # Add other plot formats here! | |
82 | return False |
|
82 | return False | |
83 | else: |
|
83 | else: | |
84 |
return super(RichIPythonWidget, self)._process_execute_ |
|
84 | return super(RichIPythonWidget, self)._process_execute_payload(item) | |
85 |
|
85 | |||
86 | #--------------------------------------------------------------------------- |
|
86 | #--------------------------------------------------------------------------- | |
87 | # 'RichIPythonWidget' protected interface |
|
87 | # 'RichIPythonWidget' protected interface |
General Comments 0
You need to be logged in to leave comments.
Login now