Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Figure linewidth not documented and not visible when saved #9370

Copy link
Copy link
Closed
@tdpetrou

Description

@tdpetrou
Issue body actions

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)

screen shot 2017-10-11 at 11 32 37 am

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.