Question about licenses for Plotly and Dash documentation

Hi there,

I am working on a book-length guide to using Python to manage, analyze, and visualize nonprofit data; this guide will be released under the MIT license. Many sections of this book, particularly the graphing and online visualizations ones, feature Plotly and Dash code.

The Plotly and Dash documentation pages were very helpful in building out these sections, so I thought I would double-check the licenses under which they’re released. It looks like the code and commentary behind the Plotly documentation pages on Plotly.py can also be found within the Plotly GitHub project (which carries an MIT license), so I’m thinking that the website’s Plotly documentation may be released under the MIT license also. However, I didn’t find a copy of the Dash documentation on the dash GitHub project, and I incorporated code from that documentation into my project also.

Long story short, do I need to be careful about incorporating code from this documentation into my book chapters, or would it be fine to still release my project under the MIT license? Although I wrote much of the code in these chapters, certain lines still came from the documentation.

Thanks in advance for your assistance!