Skip to content

return_cpos (kwargs) won't work if a field is displayed #140

@pthieffry

Description

@pthieffry

Let's assume a model has been defined and we want to plot results. The following command works (no field to display, only mesh):

model_mesh.plot(notebook=False,show_axes=True,return_cpos=True)

The following one does not work:
model_mesh.plot(field_or_fields_container=vmStress.outputs.fields_container(),return_cpos=True)

The same behavior is observed when trying to set cpos:
model_mesh.plot(field_or_fields_container=vmStress.outputs.fields_container(),cpos=[(-100,-100,20),(50,0,0),(0,0,1)])

Here's the error message I get:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions