# Can I use matplotlib in Dynamo?

**URL:** <https://forum.dynamobim.com/t/can-i-use-matplotlib-in-dynamo/40608>\
**Category:** Developers\
**Created:** [September 12, 2019, 7:58pm UTC](https://forum.dynamobim.com/t/can-i-use-matplotlib-in-dynamo/40608 "2019-09-12T19:58:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [October 11, 2021, 8:45pm UTC](https://forum.dynamobim.com/t/can-i-use-matplotlib-in-dynamo/40608/5 "2021-10-11T20:45:17Z")

</div>

Yes you can use it, except the **plt.show()** method  
example of workaround here

> [@Python 3 Skelitonization - plt.show() not work](https://forum.dynamobim.com/t/python-3-skelitonization-plt-show-not-work/63216/8):
>
> Finally, I found a better (faster) way with Stream conversion, (Bitmap.SetPixel() is too slow) [waveSinCos] import sys import clr import System clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import \* dirAppLoc = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData) sys.path.append(dirAppLoc + r'\python-3.8.3-embed-amd64\Lib\site-packages') clr.AddReference('System.Drawing') import System.Drawing from System.Drawing import \* from System…

---

_[View the full topic](https://forum.dynamobim.com/t/can-i-use-matplotlib-in-dynamo/40608)._
