Skip to content

Commit

Permalink
Version 0.4.3 (#47)
Browse files Browse the repository at this point in the history
* Delete eval_functions.js
Instead we simply export the functions without quotes
* Suppress the warning about max columns
* ATM itables does not work with Nteract
mwouts authored Jan 8, 2022
1 parent d9d4a82 commit a7708d2
Showing 9 changed files with 2,427 additions and 2,895 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
0.4.3 (2022-01-08)
==================

Changed
-------

- When a JS function is created on the Python side, we export it as-is (without quotes) in the HTML file and don't use JS eval anymore.


0.4.2 (2022-01-07)
==================

@@ -20,7 +29,7 @@ Fixed

Fixed
-------
- Now `itables` also works in Jupyter Lab, Colab, Nteract, VS Code and PyCharm (#3, #4, #26, #40), as we load the `datatables.net` library with an ES import when `require.js` is not available. Many thanks to [François Wouts](https://github.com/fwouts) for his precious help!
- Now `itables` also works in Jupyter Lab, Colab, VS Code and PyCharm (#3, #4, #26, #40), as we load the `datatables.net` library with an ES import when `require.js` is not available. Many thanks to [François Wouts](https://github.com/fwouts) for his precious help!

Changed
-------
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -59,7 +59,6 @@ You don't see any table above? Please either open the [HTML export](https://mwou
- Google Colab
- VS Code (for both Jupyter Notebooks and Python scripts)
- PyCharm (for Jupyter Notebooks)
- Nteract

## Table not loading?

@@ -182,7 +181,7 @@ function (td, cellData, rowData, row, col) {
For tables that are larger than the notebook, the `columnDefs` argument allows to specify the desired width. If you wish you can also change the default in `itables.options`.

```python
show(x.to_frame().T, columnDefs=[{"width": "120px", "targets": "_all"}])
show(x.to_frame().T, columnDefs=[{"width": "120px", "targets": "_all"}], maxColumns=300)
```

## Cell alignment
Loading

0 comments on commit a7708d2

Please sign in to comment.