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

Escher Python widget not updating immediately with custom reaction scale #318

Closed
zakandrewking opened this issue Sep 4, 2019 · 0 comments
Milestone

Comments

@zakandrewking
Copy link
Owner

If you create an Escher Python widget with a custom reaction scale, the scale will not appear right away:

escher.Builder(
    map_json='iJO1366.Central metabolism',
    reaction_data={'PGI': 10, 'GAPD': 20},
    reaction_scale=[
        { "type": 'value', "value": 10, "color": '#41b6c4', "size": 20 },
        { "type": 'value', "value": 20, "color": '#2c7fb8', "size": 25 },
    ],
)

The workaround for this bug is to open the settings menu and click the accept checkmark after the map loads.

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