from islpy import Set from islplot.plotter3d import plot_set_3d from IPython.display import HTML s = Set("{ [i, j, k] : 0 <= i,k,j and i + j < 8 and k < 5} ") d = plot_set_3d(s, show_points=True, show_vertices=True) HTML(d)