Add migration guide for FURY 0.12.x to v2.0.0 - #1302
Conversation
skoudoro
left a comment
There was a problem hiding this comment.
Hi @medha-14 and @maharshi-gor,
See below some comments.
Also:
- Renamed: peak_slicer→peaks_slicer, slicer→volume_slicer/data_slicer, markers→marker, dot→point, cube→box, odf_slicer→sph_glyph, text_3d/vector_text→text
- Removed, no successor: tensor_slicer, sdf, grid, scalar_bar, figure, rectangle, texture/texture_2d/texture_on_sphere/texture_update, io.load_sprite_sheet
- New modules absent from guide: fury.animation, fury.motion, fury.network, fury.geometry, fury.material, fury.shader; new io — read_mesh, read_points, read_lines, load_cube_map_texture, load_network/save_network
- fury.window.record — gone, replaced by snapshot / record_animation. Not mentioned.
please, check all of that.
Thanks !
|
|
||
| show_m.start() # blocking render loop | ||
| show_m.render() # non-blocking single-frame request | ||
| show_m.snapshot(fname) # save PNG of current frame |
There was a problem hiding this comment.
show_m.snapshot(fname=fname)
|
|
||
| .. code-block:: python | ||
|
|
||
| fury.io.save_image(array, "output.tiff", compression_type="tiff_lzw") |
There was a problem hiding this comment.
not sure tiff_lzw exists. use compression_type="lzw"
|
|
||
| .. code-block:: python | ||
|
|
||
| import imgui |
There was a problem hiding this comment.
import imgui_bundle as imgui right ?
There was a problem hiding this comment.
No from imgui_bundle import imgui
| **Action**: ``ComboBox2D``, ``ListBox2D``, ``TextBox2D``, and | ||
| ``RangeSlider`` are available in master and require no replacement. Only | ||
| ``DrawPanel`` and ``FileMenu2D`` remain unavailable; if you relied on | ||
| those, consider an ImGui panel as a temporary substitute until they are | ||
| ported. |
There was a problem hiding this comment.
weird section and not aligned with the previous section above
| * - ``actor.streamlines`` | ||
| - :ghpull:`1021` | ||
| * - ``actor.streamtube`` | ||
| - Shader-based rewrite :ghpull:`1038` |
There was a problem hiding this comment.
this and other below was existing before so sentence is wrong
| - Removed | ||
| * - ``pygfx`` | ||
| - Added (≥ 0.16.0) | ||
| * - ``wgpu`` |
There was a problem hiding this comment.
it is not a dependency... it come with pygfx. Correct ?
There was a problem hiding this comment.
It is both. In a sense we do import few things directly from wgpu but it is to avoid overheads of pygfx or to write something custom.
|
|
||
|
|
||
| Dependency Changes | ||
| ------------------ |
There was a problem hiding this comment.
use ~~~~~~~~~~~ instead, weird section otherwise
skoudoro
left a comment
There was a problem hiding this comment.
thanks for the update,
merging
No description provided.