# In vscode, is there a way to show snippets of function of python package when called by PythonCall.jl or PyCall.jl?

**URL:** https://discourse.julialang.org/t/in-vscode-is-there-a-way-to-show-snippets-of-function-of-python-package-when-called-by-pythoncall-jl-or-pycall-jl/92224
**Category:** General Usage
**Created:** [December 28, 2022, 11:53am UTC](https://discourse.julialang.org/t/in-vscode-is-there-a-way-to-show-snippets-of-function-of-python-package-when-called-by-pythoncall-jl-or-pycall-jl/92224 "2022-12-28T11:53:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![YH\_Ko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yh_ko/32/45438_2.png) [@YH\_Ko](https://discourse.julialang.org/u/YH_Ko)
#### Post date: [December 28, 2022, 11:53am UTC](https://discourse.julialang.org/t/in-vscode-is-there-a-way-to-show-snippets-of-function-of-python-package-when-called-by-pythoncall-jl-or-pycall-jl/92224/1 "2022-12-28T11:53:47Z")

</div>

Hi all.

I’m trying to use Python’s matplotlib package in Julia code.  
It is called by PythonCall.jl.

**In vscode, Is there a way to show snippets of functions (ex. plt.plot(), plt.xlabel …etc)**  
**of python package when called by Julia code?** Here’s my sample code.

using PythonCall  
plt = pyimport(“matplotlib.pyplot”)  
x = range(0; stop=2π, length=1000);  
y = @. sin(3x + 4cos(2x));

myStyle = Dict(“fontname”=\> “Times New Roman”, “fontsize”=\> 15, “style”=\>“italic”);  
plt.plot(x, y, “k-”, linewidth = 1)  
plt.title(“α \> β”, fontdict = myStyle);  
plt.xlabel(“x”, fontdict = myStyle);  
plt.ylabel(“y”, fontdict = myStyle);  
plt.gca().spines[“right”].set\_visible(false);  
plt.gca().spines[“top”].set\_visible(false);  
plt.show()
