Skip to content

Incorrect TextPath display under interactive mode #6049

Description

@qinggeng

matplotlib version 1.5.1 installed from pip
osx 10.9.5
python version: 2.7.11 installed from source code

source code:

from pylab import *
from matplotlib.text import TextPath
from matplotlib.patches import PathPatch
t = TextPath((0, 20), u'ABCDEFGHIJK')
tp = PathPatch(t, color='k', fill = False)
plt.gca().set_xlim(-100, 100)
plt.gca().set_ylim(0, 50)
plt.gca().add_artist(tp)
plt.show()

result screenshot:
mac_display_bug

However, the saved image is correct(saved from save button):
mpl_hollo_textpathbug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions