Skip to content

Commit

Permalink
preamble update, grid
Browse files Browse the repository at this point in the history
  • Loading branch information
dgerosa committed Nov 12, 2020
1 parent 331bd2d commit 9c52d28
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/sitemap.xml
Expand Up @@ -2,17 +2,17 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2019-09-11</lastmod>
<lastmod>2020-11-12</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-09-11</lastmod>
<lastmod>2020-11-12</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2019-09-11</lastmod>
<lastmod>2020-11-12</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
6 changes: 4 additions & 2 deletions skywalker/skywalker.py
Expand Up @@ -20,7 +20,7 @@

if __name__!="__main__":
__name__ = "skywalker"
__version__ = "0.0.16"
__version__ = "0.0.17"
__description__ = "Things I like in python"
__license__ = "MIT"
__author__ = "Davide Gerosa"
Expand Down Expand Up @@ -60,10 +60,12 @@ def wrapper(*args, **kwargs):
#rc.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
#rc('text.latex',preamble=r"\usepackage{amsmath}")
import matplotlib
matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
matplotlib.rcParams['text.latex.preamble']=r"\usepackage{amsmath}"
rc('figure',max_open_warning=1000)
rc('xtick',top=True)
rc('ytick',right=True)
rc('ytick',right=True)
rc("axes", grid=False)
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.backends.backend_pdf import PdfPages
Expand Down
12 changes: 6 additions & 6 deletions skywalker/test.py
Expand Up @@ -4,10 +4,10 @@

from __future__ import print_function
import os,sys
if sys.version_info[0] > 2: # relative imports are different in python 2 and 3
import skywalker.skywalker as skywalker
else:
import skywalker
#if sys.version_info[0] > 2: # relative imports are different in python 2 and 3
# import skywalker.skywalker as skywalker
#else:
import skywalker

@skywalker.plot
def test_plot():
Expand Down Expand Up @@ -92,8 +92,8 @@ def message():

if __name__ == "__main__":

pass
#test_plot()
#pass
test_plot()
#test_timer()
#test_checkpoint()
#test_singleton()
Expand Down

0 comments on commit 9c52d28

Please sign in to comment.