File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,12 @@ def _create_tabs(
9999 border-radius: 4px 4px 0 0;
100100 position: relative;
101101 top: 1px;
102+ display: inline-flex;
102103 }
103104 input.ipyplot-tab-%(0)s:checked + label.ipyplot-tab-label-%(0)s {
104105 background: #FFF;
105106 border-bottom: 1px solid transparent;
107+ display: inline-flex;
106108 }
107109 input.ipyplot-tab-%(0)s ~ .tab {
108110 border-top: 1px solid #999;
@@ -222,7 +224,7 @@ def _create_html_viewer(
222224 return html_viewer
223225
224226
225- def _display_html (html : str ):
227+ def _display_html (html : str , debug_html : bool = False ):
226228 """Simply displays provided HTML string using IPython.display function.
227229
228230 Parameters
@@ -235,7 +237,8 @@ def _display_html(html: str):
235237 handle: DisplayHandle
236238 Returns a handle on updatable displays
237239 """
238- display (HTML (_create_html_viewer (html )))
240+ if debug_html :
241+ display (HTML (_create_html_viewer (html )))
239242 return display (HTML (html ))
240243
241244
You can’t perform that action at this time.
0 commit comments