自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 修改pyqtgraph导出视图背景颜色

def writeImage(self, fileName=None): if fileName is None: self.fileDialog = FileDialog() if PlotItem.lastFileDir is not None: self.fileDialog.setDirectory(PlotItem.lastFileDir) self.fileDialo...

2020-09-25 18:20:51 914

原创 pyqtgraph调节graphItem对象往前排或往后排

如果对象是继承自类GraphicsItem,那么可以通过调节对象在图像场景里Z轴位置实现#往前排列data_item.setZValue(10)#往后排列data_item.setZValue(0)

2020-09-25 15:31:46 406

原创 pyqtgraph 在Opengl模式下开启抗锯齿效果

pyqtgraph 在Opengl模式下开启抗锯齿效果修改pyqtgraph源码文件pyqtgraph/widgets/GraphicsView.py def useOpenGL(self, b=True): if b: if not HAVE_OPENGL: raise Exception("Requested to use OpenGL with QGraphicsView, but QtOpenGL modu.

2020-09-25 14:22:33 882

原创 pyqtgraph中在使用Qspliter时崩溃

def render(self): # Convert data to QImage for display. profile = debug.Profiler() if self.image is None or self.image.size == 0: return if isinstance(self.lut, collections.Callable): lut = self.lut(self.image) els.

2020-08-04 10:40:36 186

原创 WIN7下数字签名无法识别

管理员权限运行cmd输入命令:BCDEDIT -SET LOADOPTIONS DISABLE_INTEGRITY_CHECKSBCDEDIT -SET TESTSIGNING ON

2020-07-02 15:10:03 874

原创 pyqtgraph去除右键菜单中的export

在控件中将上下文列表中的export去除即可

2019-04-16 13:07:38 1045 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除