Skip to content

afterplot event not fired on load #1341

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

Closed
tjmcewan opened this issue Jan 28, 2017 · 1 comment · Fixed by #1342
Closed

afterplot event not fired on load #1341

tjmcewan opened this issue Jan 28, 2017 · 1 comment · Fixed by #1342
Assignees
Labels
bug something broken

Comments

@tjmcewan
Copy link

The afterplot event isn't fired until the chart is interacted with in some way. It seems like this isn't the intention? I'd like to be able to hook to an event that is fired when the chart is finished loading for the first time.

Reproduction:

  1. Go here: http://codepen.io/plotly/pen/QbZmZY
  2. Open your console
  3. Reload the page and observe that no event is fired.

If this is not the intention, do you have a recommended workaround?

Thanks. :)

@etpinard
Copy link
Contributor

Thanks for the report.

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

Successfully merging a pull request may close this issue.

2 participants