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

[FIX] Fixed svg function to return svg chart together with container div for highcharts #1541

Merged
merged 3 commits into from
Sep 20, 2016

Conversation

PrimozGodec
Copy link
Contributor

@PrimozGodec PrimozGodec commented Sep 6, 2016

It is required that also axis labels are provided in a report.

Also fixed svg function in webview to take return whole svg. Before svg was returned without last >

@codecov-io
Copy link

codecov-io commented Sep 6, 2016

Current coverage is 88.69% (diff: 100%)

Merging #1541 into master will increase coverage by 0.41%

@@             master      #1541   diff @@
==========================================
  Files            77         78     +1   
  Lines          7624       8108   +484   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           6730       7191   +461   
- Misses          894        917    +23   
  Partials          0          0          

Sunburst

Powered by Codecov. Last update ac050e1...4ab7ba0

@PrimozGodec PrimozGodec changed the title [FIX] Fixed svg function to return whole svg tag content [FIX] Fixed svg function to return svg chart together with container div Sep 6, 2016
…iew and returns whole div instead only svg part. It is required in report that also axis labels are shown.
@PrimozGodec PrimozGodec changed the title [FIX] Fixed svg function to return svg chart together with container div [FIX] Fixed svg function to return svg chart together with container div for highcharts Sep 6, 2016
@PrimozGodec
Copy link
Contributor Author

@kernc It is corrected now.

@@ -325,6 +325,12 @@ def _on_selected_points(self, points):
self._selection_callback([np.sort(selected).astype(int)
for selected in points])

def svg(self):
""" Return SVG string of the first SVG element on the page, or
raise ValueError if not any. """
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a comment why this is overridden and why a non-SVG is returned.

@kernc kernc assigned PrimozGodec and unassigned kernc Sep 16, 2016
@PrimozGodec
Copy link
Contributor Author

Done.

@ajdapretnar ajdapretnar merged commit 3b1196a into biolab:master Sep 20, 2016
@PrimozGodec PrimozGodec deleted the svg-export-fix branch September 20, 2016 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants