Skip to content

Repairing test api feec 2d.py#6

Open
Sworzzy wants to merge 2 commits intodevelfrom
repairing-test_api_feec_2d.py
Open

Repairing test api feec 2d.py#6
Sworzzy wants to merge 2 commits intodevelfrom
repairing-test_api_feec_2d.py

Conversation

@Sworzzy
Copy link
Collaborator

@Sworzzy Sworzzy commented Jul 4, 2024

When running the file with __name__ == '__main__', it would throw the error :

File "/Users/patricklagarrigue/psydac_workspace/psydac_dev/psydac/api/tests/test_api_feec_2d.py", line 173, in update_plot
ax0.collections.clear(); cax0.clear()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ArtistList' object has no attribute 'clear'

.remove() seemed to be the appropriate method. Now when running the files, plot appears and they seem to be coherent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant