Skip to content

Commit

Permalink
Update documentation and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrusha committed Oct 19, 2024
1 parent 1489ba2 commit 9ae63ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

### Changed
* Migrate from compas_view2 to compas_viewer

### Removed

Expand Down
7 changes: 2 additions & 5 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,11 @@ Stable releases can be installed using a combination of conda and pip.
conda activate cra
pip install compas_cra
To use the CRA viewer, you should also install :mod:`compas_view2`
and the COMPAS 2 migration from the compatibility branch of the github repo.
(we will replace this by :mod:`compas_viewer` soon).
To use the CRA viewer, you should also install :mod:`compas_viewer`.

.. code-block:: bash
conda install matplotlib compas_view2
pip install git+https://github.com/compas-dev/compas_view2.git@compas2
conda install matplotlib compas_viewer
Latest
Expand Down
4 changes: 2 additions & 2 deletions src/compas_cra/viewers/cra_view.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""CRA view style using compas_view2"""
"""CRA view style using compas_viewer"""

from math import sqrt

Expand Down Expand Up @@ -552,7 +552,7 @@ def cra_view_ex(
Parameters
----------
viewer : compas_view2.app.App
viewer : compas_viewer.Viewer
External viewer object.
assembly : :class:`~compas_assembly.datastructures.Assembly`
The rigid block assembly.
Expand Down

0 comments on commit 9ae63ca

Please sign in to comment.