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.

how to turn off axes?

See original GitHub issue

I’m looking for the ipv equivalent of the matplotlib ax.set_axis_off method. Sometimes you don’t want the box 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
maartenbreddelscommented, Feb 22, 2018

Added some helper functions:

ipv.style.background_color('orange')
ipv.style.axes_on()
ipv.style.box_on(
ipv.style.set_style_dark()
0reactions
sorenwackercommented, Sep 26, 2019

This works!!

import ipyvolume as ipv


znorm = Z - Z.min()
znorm /= znorm.ptp() / 100
color = cm.RdYlBu_r(znorm)

ipv.figure()
ipv.style.axes_off()
ipv.style.box_off()
ipv.plot_wireframe(X, Y, Z, color=color[...,:3])
ipv.show()
Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn off axes in subplots - python - Stack Overflow
You can turn the axes off by following the advice in Veedrac's comment (linking to here) with one small modification.
Read more >
Matplotlib: Turn Off Axis (Spines, Tick Labels ... - Stack Abuse
To turn the spines off - you can access them via the ax.spines dictionary. Using their keys, top , bottom , left ,...
Read more >
How to Turn Off the Axes for Subplots in Matplotlib?
In a visualization, if the figure has a single plot in it, we can turn off the axes for subplots by making look...
Read more >
Turn Off the Axes for Subplots in Matplotlib | Delft Stack
We can turn off the axes of subplots in Matplotlib using axis() and set_axis_off() methods for axes objects. We can also turn off...
Read more >
How to turn off the axes of a plot in Matplotlib - Adam Smith
Use matplotlib.pyplot.axis() to turn off the axes ... Call matplotlib.pyplot.axis(string) with string as "off" to turn off the axes.
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