# Python plotly plots in dash

**URL:** <https://community.plotly.com/t/python-plotly-plots-in-dash/6257>\
**Category:** Dash Python\
**Created:** [October 12, 2017, 8:17pm UTC](https://community.plotly.com/t/python-plotly-plots-in-dash/6257 "2017-10-12T20:17:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdaza](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sdaza](https://community.plotly.com/u/sdaza)\
**Post date:** [October 12, 2017, 8:17pm UTC](https://community.plotly.com/t/python-plotly-plots-in-dash/6257/1 "2017-10-12T20:17:52Z")

</div>

Is it possible to use a python plot (e.g., distplot) in a dash app?

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [October 12, 2017, 8:20pm UTC](https://community.plotly.com/t/python-plotly-plots-in-dash/6257/2 "2017-10-12T20:20:25Z")

</div>

Yup! You can use any of the plots in [https://plot.ly/python](https://plot.ly/python) in Dash. You’ll just need to set the `fig` object to the `figure` attribute of the `dcc.Graph` component. See [Distplot in Dash](https://community.plotly.com/t/distplot-in-dash/4828) in particular for displot.
