Skip to content

Commit

Permalink
Add some examples for plot implementations in their docstrings (#847)
Browse files Browse the repository at this point in the history
Basically we finished the rough implementation of all plots (except 2 in DataFrame).

So it should be better to have some examples for them.
  • Loading branch information
itholic authored and ueshin committed Oct 2, 2019
1 parent 1e96eb8 commit 89877ce
Show file tree
Hide file tree
Showing 3 changed files with 339 additions and 17 deletions.
7 changes: 7 additions & 0 deletions databricks/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import pandas as pd
import pyarrow as pa
import matplotlib.pyplot as plt
from pyspark import __version__

from databricks import koalas
Expand Down Expand Up @@ -85,3 +86,9 @@ def add_db(doctest_namespace):
def add_caplog(caplog):
with caplog.at_level(logging.INFO, logger='databricks.koalas.usage_logger'):
yield


@pytest.fixture(autouse=True)
def close_figs():
yield
plt.close("all")
Loading

0 comments on commit 89877ce

Please sign in to comment.