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

1) y label rotated 2) padding issue #29

Open
musarra opened this issue Jun 19, 2020 · 0 comments
Open

1) y label rotated 2) padding issue #29

musarra opened this issue Jun 19, 2020 · 0 comments

Comments

@musarra
Copy link

musarra commented Jun 19, 2020

  1. When using any sort of plot, y-label is rotated, which means upside down.
  2. Also, padding is not correctly set up, depending solution

for 1st issue, the simple change below fixed the problem for me - line 425 to 428

from

    if ylabel:
        ylabel.y = int(
            y_next + (yextent - y_next) / 2. - ylabel.height / 2.)
        ylabel.angle = 90

to

    if ylabel:
        ylabel.y = int(
            y_next + (yextent - y_next) / 2. - ylabel.height / 2.)
        ylabel.angle = 0 

(needs padding change)

or

    if ylabel:
        ylabel.y = int(
            y_next + (yextent - y_next) / 2. - ylabel.height / 2.)
        ylabel.angle = 45

(y label is rotated along axis)

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

No branches or pull requests

1 participant