-
Notifications
You must be signed in to change notification settings - Fork 68
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
VCS Addons: histogram & polar #1999
Conversation
…secondary management
# Conflicts: # Packages/vcs/vcs/utils.py
@aashish24 @doutriaux1 Please review, I want this in 2.6. |
@chaosphere2112 is merging @danlipsa revert commit branch going to affect this? |
@chaosphere2112 please merge master in |
@doutriaux1 Merged, running tests now. |
Looks good. Also, the commit from @sampsonbryce only made it so that calling |
import vcs | ||
import vcsaddons, numpy | ||
|
||
x=regression.init() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit pick: space before and after =
@chaosphere2112 does this image looks right to you: The pattern seems bit different |
y0 = center[1] + (ymul * radius * numpy.sin(angle)) | ||
y1 = center[1] | ||
if t_labels is not None: | ||
label = self.create_text(template.xlabel1.texttable, self.text_orientation_for_angle(angle, source=template.xlabel1.textorientation)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we wrap these long lines please (that are > 120 column)
@chaosphere2112 I did some basic check, couldn't verify all the math (specially the edge cases) but this seems like a nice addition. I just some very minor suggestions, please have look. |
@aashish24 Updated style issues. The baseline you linked looks fine; if you're referring to the line stippling, the issue is just that the line stipples are overlapping (each bar has its own outline), so they look solid. |
Okay, thanks, LGTM now 👍 Do I need to build and test? |
@aashish24 I ran the tests and they passed for me, but, probably 😉 |
Okay running it now. |
@chaosphere2112 my build is done but couldn't finish the testing, will do it tonight. |
@chaosphere2112 for some reason I got more than expected test failures 😢. Let me look into it and I will ping you asap. |
@chaosphere2112 the baselines were not uptodate in the branch and thats why tests were failing. I am running the suite again. |
Also, I have merged the master baselines to this branch and running the tests again. |
these tests are failing but I am going to ignore dv3d and diag tests as they have been failing on master of this branch too. 40 - flake8_vcs (Failed) Looking into other tests failure making sure that they are not related. |
@chaosphere2112 looks like polared_one broke one test: 57: Test command: /home/chaudhary/tools/uvcdat/build_debug/install/bin/runtest "/home/chaudhary/tools/uvcdat/build_debug/install/bin/python" "/home/chaudhary/tools/uvcdat/src.git/testing/vcs/test_vcs_no_extra_elements.py" 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 1.68 sec |
@aashish24 Ah, I could see that. I fixed the flake8 issue, I'll address the polar_oned thing. |
Take another shot at it, @aashish24 |
thanks @chaosphere2112 running the suite from scratch again with your latest changes. |
@chaosphere2112, apologies, I am pushing a fix since lot many tests were failing on my system. Also, I will open a PR against uvcdat branch. |
Fixes up the existing implementation of the vcsaddons histogram and adds a new plot type (Polar) to vcsaddons. The histogram came out of needs of the GUI, and the polar plot came from some visualization tasks I had been assigned. New baselines are at CDAT/uvcdat-testdata#138, here's the coverage summary for these two modules: