Skip to content

Markers, ticks and labels in SVG images in Jupyter notebooks are not rendered

Summary

Despite the efforts done in issue #22519 (closed) SVG images embedded in Jupyter notebooks cannot yet properly display elements such as markers, ticks, labels.

Steps to reproduce

Upload on Gitlab a Jupyter notebook with a plot generated with pandas/matplotlib

Example Project

Please have a look at this project: there is a Jupyter notebook with three plots: all of them should show ticks and labels on the axes and the second and third should display markers as well.

What is the current bug behavior?

Markers, ticks and labels of images displayed in a Jupyter notebook and generated with matplotlib are not visualized on GitLab.

Relevant logs and/or screenshots

The repo linked above contains

  • svg/ folder with the images exported from Jupyter (as the should look like)
  • html_elements/ folder with html code exported for each output image from both Jupyter and GitLab, such that they can be easily compared
Edited by gpasqualetti