Skip to content

Commit

Permalink
bugfix:post-processing script of dynamic cantilever beam
Browse files Browse the repository at this point in the history
This commit fixes an issue due to matplotlib version. Some versions of
matplotlib for plotting grid line and showing it uses different argument
names. Here since we always want to plot the grid, we remove the
argument to plot the grid line. By default grid lines will be plotted.
  • Loading branch information
armantekinalp committed May 10, 2023
1 parent 39d3ae9 commit b271ad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def plot_end_position_with(
)
ax.set_xlabel("Time [s]", fontsize=16)
ax.set_ylabel("Displacement [m]", fontsize=16)
ax.grid(visible=True, which="both", color="k", linestyle="--")
ax.grid(which="both", color="k", linestyle="--")

time = np.array(recorded_history["time"])
positions = analytical_cantilever_soln.get_time_dependent_positions(1, time)
Expand Down

0 comments on commit b271ad4

Please sign in to comment.