Skip to content

Dataframe generated in Jupyter notebook overlapping rander #1338

@Venkat-Rajgopal

Description

@Venkat-Rajgopal

I have some code illustrations written in Jupyter notebook. Some parts of the notebook does not render correctly for eg this data frame here is overlapping.
image

It only renders when I use a print for the DataFrame.

Below are the configurations with pydata_sphinx_theme I am using.

[tool.poetry.group.docs.dependencies]
sphinx = ">5"
myst-parser = "1.0.0"
sphinx-autobuild = "^2021.3.14"
sphinxcontrib-mermaid = "0.8.1"
nbsphinx = "^0.8.12"
sphinx-autodoc2 = "^0.4.2"
pydata-sphinx-theme = "^0.13.3"
jupyter-sphinx = "^0.4.0"
sphinx-togglebutton = "^0.3.2"
sphinx-favicon = "^1.0.1"
sphinx-remove-toctrees = "^0.0.3"
sphinx-copybutton = "^0.5.2"
pandoc = "^2.3"

Extensions enabled in conf.py

extensions = ["myst_parser",
              "sphinx.ext.duration",
              "sphinx.ext.autosectionlabel",
              "sphinx.ext.autodoc",
              "sphinx.ext.napoleon",
              "sphinx.ext.coverage",
              "sphinx.ext.autosummary",
              "sphinx_copybutton",
              "nbsphinx",
              "autodoc2",
              "sphinxcontrib.mermaid",
              "matplotlib.sphinxext.plot_directive",
              "jupyter_sphinx",
              "sphinx_togglebutton",
              "sphinx_favicon",
              "sphinx_remove_toctrees"
              ]

Any pointers what could be the issue here ? Thanks for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: more informationNeeds more information from the author before we can move forward

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions