Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMarek Ostrowski
16,493 Pointsunexpected attribute 'plot_height'
[plot_heigh]("https://www.dropbox.com/s/k8d3aeoe2dpxqbp/plot_heigh.jpg?dl=0")
Does anyone has clue what i am missing?
1 Answer
Steven Parker
231,261 PointsYou may have loaded a different version of the "bokeh" library than what the code was written for. For example, the figure method of bokeh version 2 included "plot_height" as a compatibility alias; but that was apparently deprecated and removed from version 3.
Marek Ostrowski
16,493 PointsMarek Ostrowski
16,493 PointsThank you Steven. I'll look for other examples which work on version 3
Steven Parker
231,261 PointsSteven Parker
231,261 PointsIf you're converting the code for version 3 it's just "height".