Skip to content

Commit

Permalink
Fix plot with new ReportPlotter
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Oct 30, 2024
1 parent 5602cb1 commit 5ff262c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def theta_cut_combobox_clicked(self):
self.__plot_2d_cut(self.farfield_2d_theta_graph, data, theta, "Theta", "Phi")

def __plot_2d_cut(self, graph_obj, data, cut, cut_name, sweep):
lines = data.gca().get_lines()
lines = data.ax.get_lines()
x_data = lines[-1].get_xdata()
y_data = lines[-1].get_ydata()
graph_obj.plot(
Expand Down

0 comments on commit 5ff262c

Please sign in to comment.