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

Line track inverted at small heights / widths #302

Closed
flekschas opened this issue Aug 8, 2018 · 1 comment
Closed

Line track inverted at small heights / widths #302

flekschas opened this issue Aug 8, 2018 · 1 comment
Labels

Comments

@flekschas
Copy link
Member

flekschas commented Aug 8, 2018

Commit: Latest dev

Steps to reproduce

  1. Set the height or width of a horizontal or vertical line track to 6
  2. manually increase the height of the track

Observed behavior

  • The track is initially drawn inverse because the baseline seems to be incorrectly set too high

inverted-line

Figure: focus on the tip of the large peak. As I increase the height, the tip of the peak does not move. It seems like there's some kind of top and bottom padding and then the total track height is smaller than the combined padding the high and low positions are inverted. For example, highest value's y position is track height (6) - top margin (4) = 2 while the lowest value is 0 + bottom margin (4) = 4. Maybe this is what's happening?

Expected behavior

  • This should never happen
@flekschas flekschas added the bug label Aug 8, 2018
@pkerpedjiev
Copy link
Member

That's exactly what was happening. Should be fixed in v1.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants