Commit 4767cfd
authored
Update interactive_weather_plot.py
I am using Python 3.11.3
I was having this error : "TypeError: 'dict_keys' object is not subscriptable"
locations.keys() had to be explicitly converted into list to prevent this exception.1 parent d6ba5d6 commit 4767cfd
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
0 commit comments