@@ -469,9 +469,15 @@ sub-set of emoji symbols
469469
470470 fig, ax = plt.subplots()
471471 tick_labels = ['😃', '😎', '😴', '😲', '😻']
472- ax.bar(range(5), [1, 4, 9, 16, 25],
473- tick_label=tick_labels, align='center')
472+ bar_labels = ['א', 'α', '☣', '⌬', 'ℝ']
473+ y = [1, 4, 9, 16, 25]
474+ x = range(5)
475+ ax.bar(x, y, tick_label=tick_labels, align='center')
474476 ax.xaxis.set_tick_params(labelsize=20)
477+ for _x, _y, t in zip(x, y, bar_labels):
478+ ax.annotate(t, (_x, _y), fontsize=20, ha='center',
479+ xytext=(0, -2), textcoords='offset pixels',
480+ bbox={'facecolor': 'w'})
475481
476482 ax.set_title('Диаграмма со смайликами')
477483
@@ -485,8 +491,8 @@ The default math font when using the built-in math rendering engine
485491TeX backend is used (i.e. ``text.usetex `` is ``True ``).
486492
487493
488- Other
489- =====
494+ TEMPORARY NOTES TOM IS KEEPING IN THE SOURCE SO THEY DO NOT GET LOST
495+ ====================================================================
490496
491497- lines.color change, only hits raw usage of Line2D
492498
@@ -555,7 +561,8 @@ Legends
555561
556562- The legend now has rounded corners by default.
557563
558- - And a lighter border, I think? cf. #6770. (@QuLogic)
564+ - "The legend defaults now include rounded corners, a lighter
565+ boundary, and partially transparent boundary and background."
559566
560567mplot3d
561568=======
0 commit comments