Thanks to visit codestin.com
Credit goes to github.com

Skip to content

text backgroundcolor not clipped in figures #3647

Closed
@ghost

Description

Hi!

import matplotlib.pyplot as plt
plt.text(0.9, 0.2, 'This is a bug?', backgroundcolor='r', clip_on=True)
plt.show()

The text itself is clipped but the background color of the text is not.

>>> matplotlib.__version__
'1.3.1'

I had difficulties to install 1.4.0 so I did not test it on 1.4.0

Thank you

[TAC edited for markup]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions