Or even better with setRange():
http://www.pyqtgraph.org/documentation/graphicsItems/viewbox.html#pyqtgraph.ViewBox.setRange

On Sun, Sep 1, 2019 at 4:56 PM <[email protected]> wrote:

> Hi Gene,
>
> You could try to do that with setXRange and setYRange functions:
>
> http://www.pyqtgraph.org/documentation/graphicsItems/viewbox.html#pyqtgraph.ViewBox.setXRange
>
>
> Cheers,
> Vasilije
>
> On Sun, Sep 1, 2019 at 4:16 PM Gene Beidl <[email protected]> wrote:
>
>> When I click on any of the graphs with all the examples in the example
>> code, the graphs move, updating the x and y axes.
>>
>> I want to lock the graph in place and not float all about.  How can I
>> make it unmovable?
>>
>> Thanks!
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pyqtgraph" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pyqtgraph/f87d8b83-8c12-49a2-aa0c-571bb4ac9b82%40googlegroups.com
>> <https://groups.google.com/d/msgid/pyqtgraph/f87d8b83-8c12-49a2-aa0c-571bb4ac9b82%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CAD_qyJo4qy9Shgx5tSsX_Pvat5yCTLZQ51%2BiF8BYVjg%2B2P5f2Q%40mail.gmail.com.

Reply via email to