question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

axisRight & log scale

See original GitHub issue

Please, could you provide an example where the plot has the Y axis on the right side of the plot, and another with log scale on Y axis? I tried multiple times to do both but never got any result.

I have been trying among other solutions: alt.Y('column', scale=alt.Scale(base=10)) for the log scale & .configure(axisRight) for the Y axis on the right side of the plot

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kanitwcommented, Apr 29, 2018

I think alt.Y('column', scale=alt.Scale(base=10), axis=alt.Axis(orient='right')) should work?

0reactions
Jackalope2K17commented, May 1, 2018

and shame on matplotlib which swept the data error under the carpet 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

D3.js axisRight() Function - GeeksforGeeks
This function will construct a new right-oriented axis generator for the given scale, with empty tick arguments, a tick size of 6 and...
Read more >
axis.ticks / D3 - Observable
For log scales with the default base ten, axis.ticks controls which powers of ten are shown, whether multiples of powers of ten are...
Read more >
D3 only one Y-axis on right for plotting line chart
I am trying to plot a D3 line chart, with its Y-axis on the right, instead of being on the left. I used...
Read more >
Drawing axis in d3.js - The D3 Graph Gallery
Log scale with scaleLog(). Very similar to linear scales above,but applies a logarithmic transform to the input domain value before the output range...
Read more >
When to use a logarithmic axis - GraphPad Prism 9 User Guide
When plotted with a linear axis (left) many of the values are superimposed and it is hard to see what's going on. With...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found