You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an object with multiple dataframes, so the method _ipython_display_ constructs a tab widget and each tab gets its dataframe. It all works nicely in jupyter, but fails to have proper styling when rendered with nbsphinx + pydata sphinx
See how it's rendered in jupyter, and how it's rendered in html :
As you can see, I juxtaposed regular dataframes and dataframes contained in a ipywidget tab to show that regular tabs have the right css, while dataframes inside the tab apparently suffer from the same problem as discussed in #1017
See a simplified version of the code to display the multi dataframe object:
As you pointed out, I think it's exactly the same issue as in #1017 so it should be an easy fix. Could you send the link of the second screenshot (that's easier to get the correct html selector directly from the page)?
Somehow related to #1017
I have an object with multiple dataframes, so the method
_ipython_display_
constructs a tab widget and each tab gets its dataframe. It all works nicely in jupyter, but fails to have proper styling when rendered with nbsphinx + pydata sphinxSee how it's rendered in jupyter, and how it's rendered in html :
As you can see, I juxtaposed regular dataframes and dataframes contained in a ipywidget tab to show that regular tabs have the right css, while dataframes inside the tab apparently suffer from the same problem as discussed in #1017
See a simplified version of the code to display the multi dataframe object:
Note that I considered moving to Myst-NB, but I still have some other problems with widgets rendering (see executablebooks/MyST-NB#458)
The text was updated successfully, but these errors were encountered: