Creating a class to product subplots

Clash Royale CLAN TAG#URR8PPPCreating a class to product subplots
I was wondering about how to design a nice class in order to produce a matplotlib plot suitable for my purpose.
The first thing that I want to obtain is a class that could be callable as follows,
but I have no idea of how to design such a class.
This is how I want to use it:
fig,axs = MyClass(parameter...)
How can I properly use this?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.