danjgale / surfplot

A package for publication-ready brain surface figures
https://surfplot.readthedocs.io/en/latest/
Other
50 stars 13 forks source link

added build_axis method to Plot #33

Open AliTafakkor opened 2 months ago

AliTafakkor commented 2 months ago

I noticed that the build function in Plot generates a figure directly, which can be limiting. For instance, users might need to plot surface maps on a specific axis to create subplots of different surface data. To address this, I added a build_axis function and rewrote the build function to use build_axis. I have ensured backward compatibility and tested the changes.