Your question doesn't make much sense. matplotlib is a python library for scientific graphics and has nothing to do with Qt, which is a set of C++ libraries for application development. PyQt is one of several python wrappers around parts of the Qt libraries that you can use to implement Qt GUIs in python..Is there any Qt function is similar to "set_xlim"?
Your code looks like it is updating the value of a plot axis range based on the position of a slider. "ax" is the variable representing the axis, and "set_xlim" is the method of the axis class that sets the axis range.
What kind of Qt class could you be looking for that would have a similar function? And why are you looking for it?
Bookmarks