enthought / enthought/mayavi

savefig using size doubles size

Open
#1,032 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

As described above - my figures always have the double amount of pixels as defined in `savefig` when using the **kwarg `size`. I traced it to `tools/figures` 239:

```python
if magnification == 'auto':
magnification = max(target_x // current_x,
target_y // current_y) + 1
```

can someone elaborate on the +1?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.