Closed tv11 closed 5 years ago
As quick workaround, you could use savestate()
and restorestate()
for temporary changing attributes. Would this be acceptable for you?
what would be the preferred solution for the second patch (and in general)? python-gr seems to use the savestate / restorestate mechanism only in the matlab-style api and the inq* functions anywhere else. I'm using my own build of gr anyway so there is no immediate need for a solution, but would like to propose the second patch to python-gr sometime in the future, as it may help others, too.
We are closing this issue due to inactivity. Please reopen the issue and let us know if its cause still persists with the current version of GR.
I also found this issue. The current version of GR does not seem to implement inqmarkersize.
The gr_inqmarkersize
function is now included in the v0.42.0 release of the GR runtime and the Python wrapper for this function is added to the develop branch and will be included in the next python-gr
release.
Oh, Thank you for your explanations. :tada:
the inqmarkersize function is currently not available in GR. It would be required to save the current value of markersize to add support to choose the markersize in the python-gr classes PlotCurve and ErrorBar. I attached a patch to add the function and also the patch to python-gr that needs it. patch_inqmarkersize_gr.txt patch_add_markersize_python_gr.txt