Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 3D plots for CVTArchive #371

Merged
merged 18 commits into from
Sep 14, 2023
Merged

Add 3D plots for CVTArchive #371

merged 18 commits into from
Sep 14, 2023

Conversation

btjanaka
Copy link
Member

@btjanaka btjanaka commented Sep 13, 2023

Description

This PR introduces a visualization function that plots CVTArchive in 3D. There are a couple of variations, including:

Solid cells:

3d

Translucent cells:

cell_alpha

Wireframe (transparent cells):

transparent

Wireframe with scatterplot:

plot_elites

TODO

  • Prototype different plots
  • Decide on API for activating different variations
  • Tests
  • Documentation examples

Questions

Status

  • I have read the guidelines in
    CONTRIBUTING.md
  • I have formatted my code using yapf
  • I have tested my code by running pytest
  • I have linted my code with pylint
  • I have added a one-line description of my change to the changelog in
    HISTORY.md
  • This PR is ready to go

@btjanaka btjanaka merged commit 251a9b0 into master Sep 14, 2023
17 checks passed
@btjanaka btjanaka deleted the 3d-cvt-heatmap branch September 14, 2023 00:06
btjanaka added a commit that referenced this pull request Sep 14, 2023
## Description

<!-- Provide a brief description of the PR's purpose here. -->

Similar to #353 that introduced `qdax_repertoire_heatmap`, this PR
introduces `qdax_repertoire_3d_plot` for using `cvt_archive_3d_plot`
from #371 to visualize QDax repertoires with 3D measure space.

## TODO

<!-- Notable points that this PR has either accomplished or will
accomplish. -->

- [x] Implement
- [x] Test
- [x] Refactor to put all qdax vis in one file

## Questions

<!-- Any concerns or points of confusion? -->

## Status

- [x] I have read the guidelines in

[CONTRIBUTING.md](https://github.com/icaros-usc/pyribs/blob/master/CONTRIBUTING.md)
- [x] I have formatted my code using `yapf`
- [x] I have tested my code by running `pytest`
- [x] I have linted my code with `pylint`
- [x] I have added a one-line description of my change to the changelog
in
      `HISTORY.md`
- [x] This PR is ready to go
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