Skip to content

Commit

Permalink
Use base instead of basex for ax.set_xscale(). Likewise for set_yscal…
Browse files Browse the repository at this point in the history
…e().
  • Loading branch information
schoi32 committed Mar 6, 2022
1 parent 34fc621 commit f6feab1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions demos/digital_net_b2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@
" trials = 100\n",
" solution = 1.808186429263620\n",
" ms = arange(10,18)\n",
" ax.set_xscale('log',basex=2)\n",
" ax.set_yscale('log',basey=10)\n",
" ax.set_xscale('log',base=2)\n",
" ax.set_yscale('log',base=10)\n",
" epsilons = {}\n",
" if 1 in plts:\n",
" epsilons['$2^m$ points with skipped $1^{st}$ point'] = zeros((trials,len(ms)),dtype=double)\n",
Expand Down Expand Up @@ -669,9 +669,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "qmcpy",
"language": "python",
"name": "python3"
"name": "qmcpy"
},
"language_info": {
"codemirror_mode": {
Expand Down
8 changes: 4 additions & 4 deletions demos/quasirandom_generators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
" n = df['N']\n",
" for label,color in zip(labels,colors):\n",
" ax.plot(n, df[label], label=label, color=color)\n",
" ax.set_xscale('log',basex=2)\n",
" ax.set_yscale('log',basey=10)\n",
" ax.set_xscale('log',base=2)\n",
" ax.set_yscale('log',base=10)\n",
" ax.legend(loc='upper left')\n",
" ax.set_xlabel('Sampling Points')\n",
" ax.set_ylabel('Generation Time (Seconds)')\n",
Expand Down Expand Up @@ -1133,9 +1133,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "qmcpy",
"language": "python",
"name": "python3"
"name": "qmcpy"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit f6feab1

Please sign in to comment.