Comments (2)
Ah, ok. I forgot about the inheritance issue. Thanks for clarifying!
from pyqtgraph.
This is more of a problem with Pylance than with pyqtgraph (see microsoft/pylance-release#2716)
A problem with __call__ = interact
is that when a class is inherited, __call__
will invoke the base class's method, not the subclass:
class A:
def my_method(self):
print("A.my_method()")
__call__ = my_method
class B(A):
def my_method(self):
print("B.my_method()")
b = B()
# Prints "A.my_method()", since __call__ still points to `A.my_method`
b()
from pyqtgraph.
Related Issues (20)
- TypeError when adding items to histogram menu in 0.13.4 HOT 3
- PyQtGraph 0.1.14 takes approximately twice as long to plot colored points in a ScatterPlotItem that 0.1.13 HOT 7
- Colormap plot scatter points HOT 2
- SyntaxWarnings HOT 1
- 'DateAxisItem' object has no attribute 'fontMetrics' HOT 3
- `DateAxisItem` renders correctly only for one plot if re-added HOT 1
- Errors encountered when running tests on risc-v platform HOT 4
- 'NoneType' object has no attribute 'removeItem' HOT 1
- ConsoleWidget.write() function missing HOT 6
- TypeError exception in ROI raiseContextMenu . QPoint being sent floats instead of ints HOT 14
- ParameterTree Example Generated Deprecation Warning HOT 1
- Test failure on test_PolyLineROI on arm64
- parameterTree contents are not displayed on the correct position when the parameterTree widget has scroll bars HOT 4
- GraphicsScene.mouseMoveEvent duplicates events
- Export to SVG with opacity on items
- Error when using FFT on data with one point HOT 1
- FillBetweenItems overflows the area between the target curves HOT 3
- Dynamically wrapped composed methods have no type hints HOT 5
- `PlotItem.scene()` has a `QGraphicsScene` type hint instead of a `pyqtgraph.GraphicsScene`
- Increasing Legend text generate a vertical misalignment with the sample.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyqtgraph.