| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a797ada commit c85d7fd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -127,7 +127,7 @@ RUN apt-get install -y libfreetype6-dev && \ | |||
| 127 | 127 | RUN pip install ibis-framework && \ | |
| 128 | 128 | pip install mxnet && \ | |
| 129 | 129 | pip install gluonnlp && \ | |
| 130 | - pip install gluoncv && \ | ||
| 130 | + pip install gluoncv && \ | ||
| 131 | 131 | /tmp/clean-layer.sh | |
| 132 | 132 | ||
| 133 | 133 | # scikit-learn dependencies | |
@@ -375,7 +375,7 @@ RUN pip install bcolz && \ | |||
| 375 | 375 | pip install allennlp && \ | |
| 376 | 376 | # b/149359379 remove once allennlp 1.0 is released which won't cause a spacy downgrade. | |
| 377 | 377 | pip install spacy==2.2.3 && python -m spacy download en && python -m spacy download en_core_web_lg && \ | |
| 378 | - apt-get install -y ffmpeg && \ | ||
| 378 | + apt-get install -y ffmpeg && \ | ||
| 379 | 379 | /tmp/clean-layer.sh | |
| 380 | 380 | ||
| 381 | 381 | ########### | |
@@ -408,7 +408,8 @@ RUN pip install flashtext && \ | |||
| 408 | 408 | pip install tensorflow_hub && \ | |
| 409 | 409 | pip install jieba && \ | |
| 410 | 410 | pip install git+https://github.com/SauceCat/PDPbox && \ | |
| 411 | - pip install ggplot && \ | ||
| 411 | + # ggplot is broken and main repo does not merge and release https://github.com/yhat/ggpy/pull/668 | ||
| 412 | + pip install https://github.com/hbasria/ggpy/archive/0.11.5.zip && \ | ||
| 412 | 413 | pip install cesium && \ | |
| 413 | 414 | pip install rgf_python && \ | |
| 414 | 415 | # b/145404107: latest version force specific version of numpy and torch. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,12 @@ | |||
| 1 | + import unittest | ||
| 2 | + import os.path | ||
| 3 | + | ||
| 4 | + from ggplot import * | ||
| 5 | + | ||
| 6 | + class TestGgplot(unittest.TestCase): | ||
| 7 | + | ||
| 8 | + def test_plot(self): | ||
| 9 | + p = ggplot(aes(x='mpg'), data=mtcars) + geom_histogram() | ||
| 10 | + p.save("myplot.png") | ||
| 11 | + | ||
| 12 | + self.assertTrue(os.path.isfile("myplot.png")) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments