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

Border display depends on fig size #21

Open
ijunier opened this issue Jun 11, 2020 · 1 comment
Open

Border display depends on fig size #21

ijunier opened this issue Jun 11, 2020 · 1 comment

Comments

@ijunier
Copy link
Contributor

ijunier commented Jun 11, 2020

The smaller figsize, the thinner the border at a given thickness, which is normal. However, if figsize is too small, the border in the generated pdf/png figure may disappear. A "nice" example is the one from our current ms, where the border has many holes.

A possible solution: imposing a minimum figsize.

fig_20_20_thick0.01.pdf
fig_10_10_thick0.01.pdf

@ijunier
Copy link
Contributor Author

ijunier commented Jun 11, 2020

  • first: add interpolation='None' in border (see issues)
  • After a few test: a good compromise is to have figsize>=8,8 and border_thickness not below 0.005 for figsize=8,8
  • Obviously, this is not very convenient to generate e.g. figures with multiple subplots. We should think of a solution where border_thickness is, by default, automatically adapted to lead to the "thinnest" apparent border (a linear relationship wrt figsize?)
  • rem: it also depends on the value of outer_radius (may not be the case with interpolation='None')

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