Closed as not planned
Description
Bug report
Bug summary
Increasing marker size leads to markers that escape the legend boundaries (or even the figure)
Code for reproduction
import numpy as np
import matplotlib.pyplot as plt
a, = plt.plot(np.random.uniform(size=10), np.random.uniform(size=10), '*', markersize=40)
b, = plt.plot(np.random.uniform(size=10), np.random.uniform(size=10), '*', markersize=40)
plt.legend([a, b],
["training data/target", "test data", "test prediction"],
ncol=3, loc=(.1, 1.025))
Actual outcome
Expected outcome
Legend box grows to capture whole marker.
Matplotlib version
- Operating System: Ubuntu 17.04
- Matplotlib Version: 2.0.1 (conda default channel)
- Python Version: 3.5