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

Tooltip position top_right/top_left does not consider panel_inset parameter #1043

Open
INekrasova-HORIS opened this issue Mar 12, 2024 · 0 comments
Milestone

Comments

@INekrasova-HORIS
Copy link

Tooltip position top_right/top_left does not consider panel_inset parameter.
Example:

data = {
    'subj': ['progr', 'math', 'physic', 'chemistry', 'biology'],
    'subj_id': [1, 2, 3, 4, 5],
    'student': ['John'] * 5,
    'score': [19, 15, 18, 12, 9]
}

p = ggplot(data) \
    + geom_path(aes(x='subj', y='score', color='student'), flat=True) \
    + geom_point(aes(x='subj', y='score', color='student'), tooltips=layer_tooltips().line('^x').anchor('top_right') )

p + coord_polar() + theme(panel_inset=[40,40]) + flavor_solarized_light()

top_right_position

@alshan alshan modified the milestones: New, 2024Q2 Mar 29, 2024
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

2 participants