Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plotting surface without axes

I want to plot a surface without axes planes.. I think I'll explain better with images:

I want to get whis one:

desirerd

Instead, I'm getting this:

current

like image 610
nkint Avatar asked Sep 03 '26 19:09

nkint


1 Answers

This one disables all the axes stuff:

ax.grid(False)
for a in (ax.w_xaxis, ax.w_yaxis, ax.w_zaxis):
    for t in a.get_ticklines()+a.get_ticklabels():
        t.set_visible(False)
    a.line.set_visible(False)
    a.pane.set_visible(False)
like image 126
David Avatar answered Sep 05 '26 09:09

David



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!