rubix_cube.plot_cube_2d module¶
2-D Rubix Cube plot rendering Module.
Module Description¶
plot_cube_2D()method for plotting theRubix Cubeon amatplotlib Axes.![]()
All 6 faces of the
Rubix Cubeare visible in this 2D rendering.¶
Module Contents¶
- 
rubix_cube.plot_cube_2d.plot_cube_2D(ax: matplotlib.axes._axes.Axes, cube: rubix_cube.cube.Cube)[source]¶ Plots the
Rubix Cubeon amatplotlib Axeson a flattened 2-D representation.- Parameters
 ax (plt.Axes) – The
matplotlib Axeson which the plotting will be done.cube (Cube) –
Rubix Cubethat will be plotted in a flattened 2-D representation of all 6 sides.
- Returns
 None.
