Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
elimintz committed Feb 12, 2020
1 parent c9c2c08 commit b13b3f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/happiness.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ def series_change(self, msg):
stacking=msg.page.stacking, temp=True)
msg.page.c.options = c.options

def corr_button_click(self, msg):
async def corr_button_click(self, msg):
msg.page.open = '/corr'
await msg.page.update()
msg.page.open = ''
return True


def happiness_plot(request):
# ['Country', 'Rank', 'Score', 'Unexplained', 'GDP', 'Social_support', 'Health', 'Freedom', 'Generosity', Corruption']
Expand Down

0 comments on commit b13b3f8

Please # to comment.