Skip to content
Snippets Groups Projects
Commit ec553c1b authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Add plot window to documentation. Closes #178

parent 86ebe560
No related branches found
No related tags found
1 merge request!231Fixes related to plot window
Pipeline #90309 passed
This commit is part of merge request !231. Comments created here will be created in the context of that merge request.
...@@ -197,6 +197,17 @@ class PlotWindow(QDialog): ...@@ -197,6 +197,17 @@ class PlotWindow(QDialog):
def start_simulation_dialog( def start_simulation_dialog(
sim_results: Dict[str, List[complex]], sfg_name: Optional[str] = None sim_results: Dict[str, List[complex]], sfg_name: Optional[str] = None
): ):
"""
Display the simulation results window.
Parameters
----------
sim_results : dict
Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`.
sfg_name : str, optional
DESCRIPTION. The default is None.
"""
app = QApplication(sys.argv) app = QApplication(sys.argv)
win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name) win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name)
win.exec_() win.exec_()
......
...@@ -7,3 +7,11 @@ gui\_utils.about\_window module ...@@ -7,3 +7,11 @@ gui\_utils.about\_window module
.. automodule:: b_asic.gui_utils.about_window .. automodule:: b_asic.gui_utils.about_window
:members: :members:
:undoc-members: :undoc-members:
gui\_utils.plot\_window module
-------------------------------
.. automodule:: b_asic.gui_utils.plot_window
:members:
:undoc-members:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment