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 trial

Python

1 Answer

Steven Parker
Steven Parker
230,230 Points

You 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
Marek Ostrowski
16,124 Points

Thank you Steven. I'll look for other examples which work on version 3

Steven Parker
Steven Parker
230,230 Points

If you're converting the code for version 3 it's just "height".