qmplot icon indicating copy to clipboard operation
qmplot copied to clipboard

Consider moving plotting to screen or figure logic in utility rather than library function

Open hguturu opened this issue 2 years ago • 2 comments

https://github.com/ShujiaHuang/qmplot/blob/ed1d5a82055ba8c787c2dbae69d533893438390e/qmplot/modules/_qq.py#L232-L235

It would be nice if the above logic can be moved to https://github.com/ShujiaHuang/qmplot/blob/ed1d5a82055ba8c787c2dbae69d533893438390e/qmplot/main.py#L113.

That way the underlying qqplot function can be used as a plotting library function, where it will plot to a given ax (i.e. allow subplotting etc.). This is currently not possible since the logic in get_figure forces the figure to show right away, even if you are waiting to add more axes to it.

hguturu avatar Apr 01 '22 21:04 hguturu