# Using PyPlot under emacs iESS

**URL:** <https://discourse.julialang.org/t/using-pyplot-under-emacs-iess/3516>\
**Category:** Visualization\
**Created:** [May 4, 2017, 2:33pm UTC](https://discourse.julialang.org/t/using-pyplot-under-emacs-iess/3516 "2017-05-04T14:33:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndbecker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ndbecker/32/10829_2.png) [@ndbecker](https://discourse.julialang.org/u/ndbecker)\
**Post date:** [May 4, 2017, 2:33pm UTC](https://discourse.julialang.org/t/using-pyplot-under-emacs-iess/3516/1 "2017-05-04T14:33:44Z")

</div>

I’m trying PyPlot under emacs iESS mode. I start with:  
`import PyPlot; const plt = PyPlot`  
Then  
`plt.figure` does nothing. I need to do  
`plt.pygui(true)``, then figures will appear. Without `plt.pygui(true)`no figures appear, even with`show()```

I don’t want to always have to remember to type `plt.pygui(true)`, what do you recommend?
