square in soma in plotshape

The basics of how to develop, test, and use models.
Post Reply
Ziling Wang
Posts: 6
Joined: Mon Mar 25, 2024 2:45 am

square in soma in plotshape

Post by Ziling Wang »

When I draw the shape of a neuron, there is always a square at the location of the neuron cell body. However, changing the diameter of the soma does not change the size of the square. How can I remove this square as it affects the representation? The following are the code and a corresponding figure.

h.soma.diam = 1.
h.scale_bar.diam = 0.1
ps.show(0) # 不自动显示NEURON的窗口

# 使用Matplotlib进行绘图
ax = ps.plot(plt)
ax.view_init(elev = 90, azim = 105)
ax.grid(False)

https://resonant-frame-a38.notion.site/ ... ba4bee5938
Post Reply