本文整理汇总了Python中guiqwt.plot.ImageDialog.create_plot方法的典型用法代码示例。如果您正苦于以下问题:Python ImageDialog.create_plot方法的具体用法?Python ImageDialog.create_plot怎么用?Python ImageDialog.create_plot使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类guiqwt.plot.ImageDialog
的用法示例。
在下文中一共展示了ImageDialog.create_plot方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: create_plot
# 需要导入模块: from guiqwt.plot import ImageDialog [as 别名]
# 或者: from guiqwt.plot.ImageDialog import create_plot [as 别名]
def create_plot(self, options, row=0, column=0, rowspan=1, columnspan=1):
ImageDialog.create_plot(self, options, row, column, rowspan, columnspan)
ra_panel = ObliqueCrossSection(self)
splitter = self.plot_widget.xcsw_splitter
splitter.addWidget(ra_panel)
splitter.setStretchFactor(splitter.count() - 1, 1)
splitter.setSizes(list(splitter.sizes()) + [2])
self.add_panel(ra_panel)
示例2: create_plot
# 需要导入模块: from guiqwt.plot import ImageDialog [as 别名]
# 或者: from guiqwt.plot.ImageDialog import create_plot [as 别名]
def create_plot(self, options):
self.filter_gbox = DataSetEditGroupBox(_("Filter parameters"),
FilterParam)
self.filter_gbox.setEnabled(False)
self.filter_gbox.SIG_APPLY_BUTTON_CLICKED.connect(self.apply_filter)
self.plot_layout.addWidget(self.filter_gbox, 0, 0)
self.param_gbox = DataSetShowGroupBox(_("Image parameters"), ImageParam)
self.plot_layout.addWidget(self.param_gbox, 0, 1)
options = dict(title=_("Image title"), zlabel=_("z-axis scale label"))
ImageDialog.create_plot(self, options, 1, 0, 1, 0)
示例3: create_plot
# 需要导入模块: from guiqwt.plot import ImageDialog [as 别名]
# 或者: from guiqwt.plot.ImageDialog import create_plot [as 别名]
def create_plot(self, options):
ImageDialog.create_plot(self, options)