```python
@@ -273,42 +273,43 @@ Creates a DataFrame from given columns and headers
A B C
0 a b c
1 d e f
+
```
-
-
print_table
-
[Source]
+
```python
-print_table(columns: List[List[str]], column_headers: List[str]):
+print_table(rows: List[List[str]], column_headers: List[str]):
```
#### Description:
-Creates an HTML table from given columns and headers
+Creates an HTML table from given rows and column headers
#### Arguments:
-| Argument | Type | Description |
-| -------------------- | ------------------- | ------------------------------------------------------------------------------ |
-| **`columns`** | **List[List[str]]** | List of columns to be converted into a table. Each column is a list of strings |
-| **`column_headers`** | **List[str]** | List of column headers |
+| Argument | Type | Description |
+| -------------------- | ------------------- | --------------------------------------------------------------------------- |
+| **`rows`** | **List[List[str]]** | List of rows to be converted into a table. Each column is a list of strings |
+| **`column_headers`** | **List[str]** | List of column headers |
#### Returns:
-| Return Type | Description |
-| ----------- | ------------------------------------------- |
-| **`str`** | HTML table created from columns and headers |
+| Return Type | Description |
+| ----------- | ---------------------------------------- |
+| **`str`** | HTML table created from rows and headers |
#### Example:
#### Python Code:
```python
->>> columns = [["a", "b", "c"], ["d", "e", "f"]]
+>>> rows = [["a", "b", "c"], ["d", "e", "f"]]
>>> column_headers = ["A", "B", "C"]
->>> table = print_table(columns, column_headers)
+>>> table = print_table(rows, column_headers)
>>> return {
"table":table,
}
@@ -324,9 +325,9 @@ Displaying Table
## Images
-
-
input_to_PIL
-
[Source]
+
```python
@@ -360,9 +361,9 @@ data:image/jpeg;base64,
```
-
-
print_img
-
[Source]
+
```python
@@ -428,9 +429,9 @@ Downloading Image
{{ outputs.download }}
```
-
-
print_plt
-
[Source]
+
```python
diff --git a/setup.py b/setup.py
index 76cb57e..9bd7376 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
-VERSION = "0.0.4"
+VERSION = "0.0.5"
DESCRIPTION = "Useful functions for MecSimCalc.com"
LONG_DESCRIPTION = "Useful functions for MecSimCalc.com"