Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some figures are cropped #2

Closed
Phyks opened this issue Mar 1, 2016 · 3 comments
Closed

Some figures are cropped #2

Phyks opened this issue Mar 1, 2016 · 3 comments

Comments

@Phyks
Copy link
Owner

Phyks commented Mar 1, 2016

Due to an upstream issue in matplotlib matplotlib/matplotlib#6084

@Phyks Phyks closed this as completed in 9689f4e Mar 1, 2016
@Phyks
Copy link
Owner Author

Phyks commented Mar 1, 2016

Not that there is still an issue when using very large linewidth.

with replot.Figure(xlabel="some x label",
                     ylabel="some y label",
                     title="A title for the figure",
                     legend=True) as figure:
    figure.plot(np.sin, linewidth=20)

image png 640 x 440 pixels

@Phyks Phyks reopened this Mar 1, 2016
@Phyks
Copy link
Owner Author

Phyks commented Mar 2, 2016

Might be interesting mwaskom/seaborn#875.

Phyks added a commit that referenced this issue Mar 30, 2016
This commit adds padding around the graph, depending on the used
linewidth, to close issue #2.
@Phyks Phyks closed this as completed Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant