Skip to content

Commit

Permalink
[DOC] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Feb 23, 2024
1 parent 60861b3 commit 37d461c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/examples/viz_skinning.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# After we get the timeline object, We want to initialise the skinning process.
# You can set `bones=true` to visualize each bone transformation. Additionally,
# you can set `lenght` of bones in the `initialise_skin` method.
# you can set `length` of bones in the `initialise_skin` method.
# Note: Make sure to call this method before you initialize ShowManager, else
# bones won't be added to the scene.

Expand Down
2 changes: 1 addition & 1 deletion docs/experimental/viz_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_sh():
vec3 lin = 2.5*occ*vec3(1.0,1.00,1.00)*(0.6+0.4*nor.y);
lin += 1.0*sss*vec3(1.0,0.95,0.70)*occ;
// surface-light interacion
// surface-light interaction
col = mate.xyz * lin;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/posts/2021/2021-06-28-gsoc-devmessias-4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ must have a way to lock the write/read if the memory resource is busy.
Meanwhile the
`multiprocessing.Arrays <https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Array>`__
already has a context which allows lock (.get_lock()) SharedMemory
dosen’t[2]. The use of abstract class allowed me to deal with those
doesn’t[2]. The use of abstract class allowed me to deal with those
peculiarities. `commit
358402e <https://github.com/fury-gl/fury/pull/437/commits/358402ea2f06833f66f45f3818ccc3448b2da9cd>`__

Expand Down
2 changes: 1 addition & 1 deletion docs/source/posts/2021/2021-07-05-gsoc-devmessias-5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tasks related with this PR:
`#424`_ now is possible to control all the visual characteristics at
runtime.
- 2D Layout: Meanwhile 3d network representations are very usefully
for exploring a dataset is hard to convice a group of network
for exploring a dataset is hard to convince a group of network
scientists to use a visualization system which doesn't allow 2d
representations. Because of that I started to coding the 2d behavior
in the network visualization system.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/posts/2021/2021-08-23-final-work-antriksh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Objectives Completed

- **Add Accordion2D UI element to the UI sub-module**

Added Accordion2D to the UI sub-module. This Ui element allows users to visulize data in a tree with depth of one. Each node has a title and a content panel. The children for each node can be N if and only if the children are not nodes themselves. The child UIs can be placed inside the content panel by passing some coordinates, which can be absolute or normalized w.r.t the node content panel size. Tests and two demos were added for this UI element. Below is a screenshot for reference
Added Accordion2D to the UI sub-module. This Ui element allows users to visualize data in a tree with depth of one. Each node has a title and a content panel. The children for each node can be N if and only if the children are not nodes themselves. The child UIs can be placed inside the content panel by passing some coordinates, which can be absolute or normalized w.r.t the node content panel size. Tests and two demos were added for this UI element. Below is a screenshot for reference

.. image:: https://camo.githubusercontent.com/9395d0ea572d7f253a051823f02496450c9f79d19ff0baf32841ec648b6f2860/68747470733a2f2f692e696d6775722e636f6d2f7854754f645a742e706e67
:width: 200
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Other Objectives

- **Grouping Shapes**

Many times we need to perform some actions on a group of shapes so here we are with the grouping feature using which you can group shapes together, reposition them, rotate them and delete them together. To activate grouping of shapes you have to be on selection mode then by holding **Ctrl** key select the required shapes and they will get highlighted. To remove shape from the group just hold the **Ctrl** and click the shape again it will get deselected. Then once eveything is grouped you can use the normal transformation as normal i.e. for translation just drag the shapes around and for rotation the rotation slider appears at usual lower left corner which can be used.
Many times we need to perform some actions on a group of shapes so here we are with the grouping feature using which you can group shapes together, reposition them, rotate them and delete them together. To activate grouping of shapes you have to be on selection mode then by holding **Ctrl** key select the required shapes and they will get highlighted. To remove shape from the group just hold the **Ctrl** and click the shape again it will get deselected. Then once everything is grouped you can use the normal transformation as normal i.e. for translation just drag the shapes around and for rotation the rotation slider appears at usual lower left corner which can be used.

*Pull Requests:*

Expand Down
2 changes: 1 addition & 1 deletion fury/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def sphere2cart(r, theta, phi):
Returns
---------
x : array
x coordinate(s) in Cartesion space
x coordinate(s) in Cartesian space
y : array
y coordinate(s) in Cartesian space
z : array
Expand Down
6 changes: 3 additions & 3 deletions fury/ui/tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_clip_overflow():
clip_overflow(text, text.size[0])
npt.assert_equal('Hello', text.message)

text.message = 'Hello wassup'
text.message = "Hello what's up?"
clip_overflow(text, text.size[0])
npt.assert_equal('He...', text.message)

Expand Down Expand Up @@ -63,9 +63,9 @@ def test_wrap_overflow():
wrap_overflow(text, text.size[0])
npt.assert_equal('Hello', text.message)

text.message = 'Hello wassup'
text.message = "Hello what's up?"
wrap_overflow(text, text.size[0])
npt.assert_equal('Hello\n wass\nup', text.message)
npt.assert_equal("Hello\n what's\nup", text.message)

text.message = 'A very very long message to clip text overflow'
wrap_overflow(text, text.size[0])
Expand Down

0 comments on commit 37d461c

Please sign in to comment.