Skip to content

Commit

Permalink
feat: update docstring, remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Aug 21, 2024
1 parent be5bc6d commit a2dcf9b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyneuroml/plot/PlotMorphologyVispy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from vispy import app, scene, use
from vispy.geometry.generation import create_sphere
from vispy.geometry.meshdata import MeshData
from vispy.scene.visuals import InstancedMesh, Mesh
from vispy.scene.visuals import Mesh
from vispy.util.transforms import rotate

if app.Application.is_interactive(app):
Expand Down Expand Up @@ -1285,9 +1285,8 @@ def create_mesh(meshdata, plot_type, current_view, min_width):
See: https://vispy.org/api/vispy.scene.visuals.html#vispy.scene.visuals.Mesh
:param meshdata: meshdata to plot: dictionary with:
key: (r1, r2, length)
value: [(prox, dist, color, offset)]
:param meshdata: meshdata to plot: list with:
[(r1, r2, length, prox, dist, color, offset)]
:param plot_type: type of plot
:type plot_type: str
:param current_view: vispy viewbox to use
Expand Down

0 comments on commit a2dcf9b

Please sign in to comment.