SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
179 stars 15 forks source link

swap values / frequency axis labels #48

Closed cwpearson closed 5 years ago

cwpearson commented 5 years ago

This PR fixes the histogram example, where the y axis was labeled frequency, but it should be values, and vis versa.

This confusion may have arisen from the fact that the histogram is a row plot instead of a column plot.

Here is the result after the PR, with the proper labels.

pr

Here is the result before the PR, with the swapped labels.

head
brentp commented 5 years ago

cheers!