Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
win = PandasGUI(block=True, **kwargs)
app.exec_()
def show_nonblocking(**kwargs):
thread = multiprocessing.Process(target=start_gui, kwargs=kwargs)
thread.start()
if __name__ == '__main__':
from pandasgui import show
from pandasgui.datasets import iris, flights, multi, pokemon
show(iris, flights, multi, pokemon)
title_placeholder = slide.placeholders[0]
subtitle_placeholder = slide.placeholders[1]
title_placeholder.text = title
subtitle_placeholder.text = subtitle
prs.save(file_path)
if __name__ == '__main__':
from pandasgui.datasets import iris, flights, multi, pokemon
app = QtWidgets.QApplication([])
figs = []
for df in [iris, flights, multi]:
df.plot()
figs.append(plt.gcf())
win = FigureViewer(figs[0])
win.show()
win2 = TabbedFigureViewer(figs)
win2.show()
app.exec_()
title_placeholder = slide.placeholders[0]
subtitle_placeholder = slide.placeholders[1]
title_placeholder.text = title
subtitle_placeholder.text = subtitle
prs.save(file_path)
if __name__ == '__main__':
from pandasgui.datasets import iris, flights, multi, pokemon
app = QtWidgets.QApplication([])
figs = []
for df in [iris, flights, multi]:
df.plot()
figs.append(plt.gcf())
win = FigureViewer(figs[0])
win.show()
win2 = TabbedFigureViewer(figs)
win2.show()
app.exec_()