Closed
Description
Bug report
Bug summary
When creating a figure it is possible to use linewidth
along with edgecolor
to create a border around the figure. The linewidth parameter is not shown in the documentation. There is no corresponding set_linewidth
figure method.
Also, when saving to a file, this border is missing.
I am using Jupyter notebook.
Code for reproduction
fig = plt.figure(linewidth=20, edgecolor='r')
plt.plot([5,6])
plt.savefig('/Users/Ted/Desktop/figlw.png')
Actual outcome (in notebook)
Expected outcome
Matplotlib version
- Operating system: OSX
- Matplotlib version: 2.1
- Matplotlib backend (
module://ipykernel.pylab.backend_inline
): - Python version: 3.6
- Jupyter version (if applicable): 5.0
- Other libraries:
Updated through conda
Metadata
Metadata
Assignees
Labels
No labels