Skip to content

Text wrapping doesn't seem to work in jupyter notebook #10869

Description

@ivirshup

Bug report

In a jupyter notebook text wrapping doesn't seem to work.

Code for reproduction

I've just used an example from the documentation. I've attached the notebook in a compressed archive (mpl_textwrap.tar.gz) and a rendered copy (matplotlib_notebook_textwrap.pdf) here:

matplotlib_notebook_textwrap.pdf

mpl_textwrap.tar.gz

Actual outcome

Image in notebook looks like:

nb_image

Expected outcome

Should look like:

test

Matplotlib version

  • Operating system: macOS 10.13.3
  • Matplotlib version: 2.2.2
  • Matplotlib backend (print(matplotlib.get_backend())): module://ipykernel.pylab.backend_inline
  • Python version: Python 3.6.4
  • Jupyter version (if applicable): 4.4.0
  • Other libraries: IPython

Everything here installed with pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions