Why the Plotters Window, Does not apper?

Hello, I am new here with COMPAS,

Maybe someone could give any suggestions to fix this:

After all the installation steps in the Anaconda Prompt
I try in Visual Studio Code to Run Python File in Terminal
but the Window with the geometry output did not pop up.
Do I need to install something else in VC in order to see the visualization, Plotters ?
I am just trying to follow this:
https://compas.dev/compas/dev/tutorial/plotters.html

and with this code:

from random import random
from compas.geometry import Pointcloud
from compas.geometry import Vector, Plane, Circle
from compas_plotters import GeometryPlotter

plotter = GeometryPlotter(figsize=(8, 5))

for point in Pointcloud.from_bounds(8, 5, 0, 17):
    plane = Plane(point, Vector(0, 0, 1))
    radius = random()
    circle = Circle(plane, radius)
    plotter.add(circle,
                facecolor=(1, radius, radius),
                edgecolor=(radius, 1, radius))

plotter.zoom_extents()
plotter.show()

Thanks!

hi andres,

can you tell me which version of COMPAS you have?
just run a script with the following lines in VSCode and check the output…

import compas

print(compas.__version__)

thanks

in any case, with current compas i would write

from random import random
from compas.geometry import Pointcloud
from compas.geometry import Vector, Plane, Circle
from compas_plotters import Plotter

plotter = Plotter()

for point in Pointcloud.from_bounds(8, 5, 0, 17):
    plane = Plane(point, Vector(0, 0, 1))
    radius = random()
    circle = Circle(plane, radius)
    plotter.add(circle, facecolor=(1, radius, radius), edgecolor=(radius, 1, radius))

plotter.zoom_extents()
plotter.show()

let me know if that doesn’t work for you…