toshiakiasakura / contextplt

Context manager style of matpotlib.
MIT License
0 stars 0 forks source link

Feature request: axes outline settings #18

Closed toshiakiasakura closed 2 years ago

toshiakiasakura commented 2 years ago

Prepare parameters which control outlines of settings.

For example,

def delete_grid_and_outlines(p : cplt.Multiple):
    ax = p.ax
    ax.spines['right'].set_visible(False)
    ax.spines['top'].set_visible(False)
    ax.spines['bottom'].set_visible(False)
    ax.spines['left'].set_visible(False)
    plt.grid(visible=None)
toshiakiasakura commented 2 years ago

In addition to above functions, ax.set_axis_off() is supported. Use hide_spines parameters to control for it.