Python - Axis limit in matplotlib -


i've created figure this

  fig8 = plt.figure()   ax8 = fig8.gca(projection = '3d')   ax8.set_xlim(0,0.8) 

it gives me

enter image description here

my problem need limit of axis x 0.8. seems matplotlib make axis little bit longer limits we've set. idea?

it seems hard-coded: https://github.com/matplotlib/matplotlib/blob/master/lib/mpl_toolkits/mplot3d/axis3d.py#l178

if replace line by:

deltas = 0*(maxs - mins) / 12. 

you desired output labels weirdly positioned.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -