Skip to content

Commit

Permalink
Fixed requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrvz committed Aug 29, 2024
1 parent 1d8ada6 commit c05f07f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions customhys/benchmark_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
message = "`optproblems` not found! Please, install it to use the cec2005 benchmark functions"
wa.showwarning(message, ImportWarning, "benchmark_func.py", 29)

import shutil
if shutil.which("latex") is not None:
plt.rc('text', usetex=True)
plt.rc('font', family='serif', size=11)

# Prevent using LaTeX if it is not installed
try:
plt.rcParams.update({'text.usetex': True})
except:
plt.rcParams.update({'text.usetex': False})

__all__ = ['Ackley1', 'Ackley4', 'Alpine1', 'Alpine2', 'Bohachevsky', 'Brent', 'Brown', 'CarromTable', 'ChungReynolds',
'Cigar', 'CosineMixture', 'CrossInTray', 'CrossLegTable', 'CrownedCross', 'Csendes', 'Deb1', 'Deb2',
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contourpy==1.3.0
contourpy==1.1.1
cycler==0.12.1
data==0.4
decorator==5.1.1
Expand Down

0 comments on commit c05f07f

Please sign in to comment.