Skip to content

Clipped tick labels #8609

@a113n

Description

@a113n

Bug report

Bug summary
Clipped tick labels if emojis were used

Code for reproduction

from __future__ import unicode_literals

import matplotlib.pyplot as plt

fig, ax = plt.subplots()
tick_labels = ['😃', '😎', '😴', '😲', '❤️']
y = [1, 4, 9, 16, 25]
x = range(5)
ax.bar(x, y, tick_label=tick_labels, align='center')
ax.xaxis.set_tick_params(labelsize=20)

ax.set_title('Диаграмма со смайликами')

Actual outcome
bug

Expected outcome
The tick labels are not clipped

Matplotlib version

  • Operating System: Windows 10 1610
  • Matplotlib Version: 2.0.2
  • Python Version: 3.6.1
  • Jupyter Version (if applicable):
  • Other Libraries:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy