Skip to content

Commit 6456a22

Browse files
authored
Update SpecNec_executable_streamlit.py
1 parent 30bc723 commit 6456a22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fun_SPEC_NEC/SpecNec_executable_streamlit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@
197197
ax1.plot(Tie, Sai, color=(0, 0, 1), marker='+', markersize=0, markerfacecolor='w',
198198
markeredgewidth=0, linewidth=1.5, alpha=1.0,linestyle = '-',label= f'Inelastic Response Spectra')
199199

200-
# Add text annotation for Sds
201-
ax1.text(0.3, Sds+0.02, f'$\\mathbf{{Sds = {Sds:.4f} \\, g}}$', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
202-
# Add text annotation for Sd1
203-
ax1.text(1, Sd1+0.02, f'$\\mathbf{{Sd1 = {Sd1:.4f} \\, g}}$', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
200+
201+
ax1.text(0.3, Sds + 0.01, f'Sds = {Sds:.3f} g', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
202+
ax1.text(1, Sd1 + 0.01, f'Sd1 = {Sd1:.3f} g', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
203+
204204

205205

206206
ax1.set_xlim([Tie[0], (max(Tie))])

0 commit comments

Comments
 (0)