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

Added Accordion2D to the UI sub module #487

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

antrikshmisri
Copy link
Member

@antrikshmisri antrikshmisri commented Aug 9, 2021

This PR adds the Accordion2D UI to the UI sub module. Please merge #460 before reviewing/merging this. Below is a screenshot for reference:-
Screenshot (11).

@pep8speaks
Copy link

pep8speaks commented Aug 9, 2021

Hello @antrikshmisri! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 152:1: E305 expected 2 blank lines after class or function definition, found 1

Line 3513:80: E501 line too long (84 > 79 characters)

Comment last updated at 2021-08-24 18:42:15 UTC

@Garyfallidis Garyfallidis changed the title Added Accorion2D to the UI sub module Added Accordion2D to the UI sub module Aug 9, 2021
@codecov
Copy link

codecov bot commented Aug 10, 2021

Codecov Report

Merging #487 (1749070) into master (cb338f1) will increase coverage by 38.41%.
The diff coverage is 92.12%.

❗ Current head 1749070 differs from pull request most recent head a05f8cb. Consider uploading reports for the commit a05f8cb to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #487       +/-   ##
===========================================
+ Coverage   50.46%   88.87%   +38.41%     
===========================================
  Files         120       31       -89     
  Lines       28024     7129    -20895     
  Branches     2987      853     -2134     
===========================================
- Hits        14142     6336     -7806     
+ Misses      13413      563    -12850     
+ Partials      469      230      -239     
Impacted Files Coverage Δ
fury/ui/tests/test_elements.py 85.17% <91.78%> (+85.17%) ⬆️
fury/ui/elements.py 89.57% <92.24%> (+89.57%) ⬆️
fury/data/__init__.py 100.00% <0.00%> (ø)
fury/fury/stream/server/__init__.py
fury/fury/tests/test_convert.py
fury/fury/molecular.py
fury/fury/tests/test_layout.py
fury/fury/shaders/tests/test_base.py
fury/fury/ui/elements.py
fury/fury/data/__init__.py
... and 112 more

Copy link
Contributor

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @antrikshmisri,

Can you rebase this PR and address my small comments. After that, I will have a deeper look and come back to you.

Thank you.

docs/tutorials/02_ui/viz_accordion.py Show resolved Hide resolved
# -*- coding: utf-8 -*-
"""
================================================
Example to demonstrate the use of Accordion2D UI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference from the previous one? You need to add more information to the description.

docs/tutorials/02_ui/viz_accordion_text_ui.py Show resolved Hide resolved
@skoudoro
Copy link
Contributor

Also, there is some pep8 issues, it would be great if you could address them. thank you

antriksh.misri added 3 commits December 4, 2022 21:31
* master: (1622 commits)
  Test scipy import fix
  finalize
  remove scene from window in snapshot
  tests: leak on test_record
  fix: iren shouldn't be created inside of record method
  fix: double render call with timeline obj causes a seg fault
  updated glTF tutorials
  Let them loop
  Updated glTF animation tests
  Renamed some timelines leftovers
  Migrated glTF anim to the new animation sys
  Altered current_timestamp of single animations
  update sphinx team version
  lowercase
  updating videos with lower res
  removing extra comma
  skip marker_actor on linux
  skip test_timer
  fix some vtkerror
  update requirements
  ...
+ Add more description to the Accordion2D examples
+ Add window.record to the Accordion2D examples
+ Add imports that were removed in the previous merge conflict
  resolution.
@antrikshmisri
Copy link
Member Author

Hey @skoudoro, sorry for the late response (was tied up with some work). I have addressed all the latest comments. The pep errors are from the Tree UI for which there is a separate PR (#460). Request you to review that PR first so that upon merge those changes will go away from this PR. Thanks!

@skoudoro
Copy link
Contributor

skoudoro commented Dec 5, 2022

ok, thank you for the feedback @antrikshmisri, I will look at #460 first

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

Successfully merging this pull request may close these issues.

4 participants