Skip to content

Fix repeated creation of axes in loop - #116

Open
HelgeCPH wants to merge 1 commit into
holtzy:masterfrom
HelgeCPH:master
Open

Fix repeated creation of axes in loop#116
HelgeCPH wants to merge 1 commit into
holtzy:masterfrom
HelgeCPH:master

Conversation

@HelgeCPH

Copy link
Copy Markdown

The previous code in this example creates x- and y-axis repeatedly. Once per row in the CSV file. That results in thousands of SVG elements for the axes, ticks, etc.

As given the previous code does not plot any nodes in the scatter plot for me.

This commit moves creation of axes out of the loop. Now, the resulting SVG visualization looks as the one given on this HTML page.

The previous code in this example creates x- and y-axis repeatedly. Once per
row in the CSV file. That results in thousands of SVG elements for the axes,
ticks, etc.

As given the previous code does not plot any nodes in the scatter plot for me.

This commit moves creation of axes out of the loop. Now, the resulting SVG
visualization looks as the one given on this HTML page.
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.

1 participant