Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Apr 30, 2024
1 parent e8f3d08 commit e93ee9e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Expand Up @@ -15,6 +15,7 @@ ITables ChangeLog
- We have improve the compatibility with dark themes ([#255](https://github.com/mwouts/itables/issues/255))
- We now enforce non-sparse index when displaying Pandas Style objects with a multiindex ([#254](https://github.com/mwouts/itables/issues/254))
- Export buttons are shown when using `show(df, buttons=...)` on a Pandas Style object ([#259](https://github.com/mwouts/itables/issues/259))
- We have fixed a side effect when using `logging` ([#265](https://github.com/mwouts/itables/issues/265))


2.0.0 (2024-03-16)
Expand Down
4 changes: 0 additions & 4 deletions itables/downsample.py
@@ -1,13 +1,9 @@
import logging
import math

import pandas as pd

from .datatables_format import _isetitem

logging.basicConfig()
logger = logging.getLogger(__name__)


def nbytes(df):
try:
Expand Down
4 changes: 0 additions & 4 deletions itables/javascript.py
@@ -1,7 +1,6 @@
"""HTML/js representation of Pandas dataframes"""

import json
import logging
import re
import uuid
import warnings
Expand Down Expand Up @@ -33,9 +32,6 @@
from .downsample import downsample
from .utils import read_package_file

logging.basicConfig()
logger = logging.getLogger(__name__)

DATATABLES_SRC_FOR_ITABLES = (
f"_datatables_src_for_itables_{itables_version.replace('.','_').replace('-','_')}"
)
Expand Down

0 comments on commit e93ee9e

Please sign in to comment.