Skip to content

use plot_range_event (aka event.new) not just event in stock_prices#728

Merged
aaronayres35 merged 1 commit into
masterfrom
fix/stock-prices
May 5, 2021
Merged

use plot_range_event (aka event.new) not just event in stock_prices#728
aaronayres35 merged 1 commit into
masterfrom
fix/stock-prices

Conversation

@aaronayres35
Copy link
Copy Markdown
Contributor

fixes #719

During the on_trait_change to observe changes, we defined plot_range_event = event.new, but missed a place where it needed to be used in place of event.

With this simple change I no longer see the error and zooming appears to work as expected.

Copy link
Copy Markdown
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aaronayres35 aaronayres35 merged commit 5c34e88 into master May 5, 2021
@aaronayres35 aaronayres35 deleted the fix/stock-prices branch May 5, 2021 11:54
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

Successfully merging this pull request may close these issues.

TypeError when running stock prices examples

2 participants