Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ $? -ne 0 ]]; then
exit 1
fi

cp dist/bundle.js src/general/styles.css lightweight_charts/js
cp dist/bundle.js src/general/styles.css lightweight_charts_esistjosh/js
if [[ $? -eq 0 ]]; then
echo -e "${INFO}copied bundle.js, style.css into python package"
else
Expand Down
Binary file added docs/source/examples/.events.md.kate-swp
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/source/examples/subchart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```python
import pandas as pd
from lightweight_charts import Chart
from lightweight_charts_esistjosh import Chart

if __name__ == '__main__':
chart = Chart(inner_width=0.5, inner_height=0.5)
Expand Down Expand Up @@ -32,7 +32,7 @@ ___

```python
import pandas as pd
from lightweight_charts import Chart
from lightweight_charts_esistjosh import Chart

if __name__ == '__main__':
chart = Chart(inner_width=1, inner_height=0.8)
Expand All @@ -55,7 +55,7 @@ ___

```python
import pandas as pd
from lightweight_charts import Chart
from lightweight_charts_esistjosh import Chart

# ascii symbols
FULLSCREEN = '■'
Expand Down
1 change: 0 additions & 1 deletion lightweight_charts/js/.old

This file was deleted.

File renamed without changes.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _create(self):
if self._created:
return
self._created = True
self.run_script(f'{self.id} = {self._chart.id}.createTopBar()')
#self.run_script(f'{self.id} = {self._chart.id}.createTopBar()')

def __getitem__(self, item):
if widget := self._widgets.get(item):
Expand Down Expand Up @@ -147,4 +147,4 @@ def button(self, name, button_text: str, separator: bool = True,
def slider(self, name: str, min_value: int, max_value: int, step: int, default: int,
align: ALIGN = 'left', func: callable = None):
self._create()
self._widgets[name] = SliderWidget(self, min_value, max_value, step, default, align, func)
self._widgets[name] = SliderWidget(self, min_value, max_value, step, default, align, func)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime as dt
import yfinance as yf
from lightweight_charts import Chart
from lightweight_charts_esistjosh import Chart
import pandas as pd
from time import sleep

Expand Down
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
/home/ace/lightweight-charts-python/venv2/bin/python /home/ace/lightweight-charts-python/run.py
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='lightweight_charts_esistjosh',
version='3.0.2',
version='3.0.3',
packages=find_packages(),
python_requires='>=3.8',
install_requires=[
Expand All @@ -14,7 +14,7 @@
'pywebview>=5.0.5',
],
package_data={
'lightweight_charts': ['js/*'],
'lightweight_charts_esistjosh': ['js/*'],
},
author='EsIstJosh',
license='MIT/AGPL-3.0',
Expand Down
File renamed without changes.