# Python API: visualizations

**URL:** <https://forum.qiime2.org/t/python-api-visualizations/3097>\
**Category:** User Support\
**Tags:** artifact-api\
**Created:** [February 19, 2018, 4:46pm UTC](https://forum.qiime2.org/t/python-api-visualizations/3097 "2018-02-19T16:46:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![uria](https://forum.qiime2.org/user_avatar/forum.qiime2.org/uria/32/4822_2.png) [@uria](https://forum.qiime2.org/u/uria)\
**Post date:** [February 19, 2018, 7:04pm UTC](https://forum.qiime2.org/t/python-api-visualizations/3097/5 "2018-02-19T19:04:57Z")

</div>

Hey there @tomasz ,

regarding

> [@thermokarst](#):
>
> Maybe @uria can provide some more details about their workaround.

Though I really couldn't find a good reason to use this workaround (qiime view works just fine for me...) what I suggested in [mentioned thread](https://forum.qiime2.org/t/embedding-visualizations-in-jupyter/404/2) is to:

1. Extract the visualization object as a directory

```python
out_dir = "/tmp/deblur_sqs_vis"
feature_table.visualizers.tabulate_seqs(deblur_sequences\
                .representative_sequences).export_data(out_dir)

```

Now you should have (I hope) a directory called deblur\_sqs\_vis under /tmp. This directory also should contain sub-directory named data in which there's an index.html file.  
2. Use the HTML object in IPython.core.display in order to view this directory

```python
from IPython.core.display import HTML
HTML('<iframe height = 1000, width = 1000, src = "{}/data/index.html"> </iframe>'\
    .format(out_dir))

```

Hope it'll work for you.

---

_[View the full topic](https://forum.qiime2.org/t/python-api-visualizations/3097)._
