Comments (4)
Bower is not a dependencies, it's just recommend to download and install D3 / NVD3 files a.
"D3 and NvD3 can be installed through bower (which itself can be installed through npm)...."
There is a setting called assets_directory
directory holding the assets (./bower_components/)
https://github.com/areski/python-nvd3/blob/master/nvd3/NVD3Chart.py#L78
You can use this to point to a different asset directory, the one you use with Flask.
from python-nvd3.
there is also the possibility to use cdn
from python-nvd3.
I think you did not understand my point. The assets_directory setting is bad design: it is a hard-coded variable that maps to a directory that will not be in place unless you install Bower. Of course one may want to give different locations to that variable, but the approach you have now obliges you to hard-code it everytime... it should be an option, the issue has not even been addressed.
from python-nvd3.
The question was :
Is it possible to pass python-nvd3 different locations for these scripts?
Or did I miss something else?
If so you can attach a solution with your issue and this might help to clarify your point
from python-nvd3.
Related Issues (20)
- adding custom tooltips HOT 1
- Installation WITHOUT bower? HOT 1
- nvd3 1.7.1 no longer available on npm HOT 4
- linechart never loads extras
- LineChart example in documentation errors HOT 1
- ImportError: cannot import name 'linePlusBarWithFocusChart' HOT 2
- Line Chart - X axis and Y axis Label HOT 1
- Adding showValues(true) to discretebar HOT 1
- Should charts render in jupyterlab?
- How to plot bullet chart using python-nvd3? HOT 1
- how do i input sqlite3 data? HOT 2
- remove dependency to python-slugify HOT 8
- adding new line in x_axis_format when using x_is_date=True
- stacked bar chart anytime soon?
- Release new version HOT 12
- Animation with Python syntax
- importing nvd3 hangs python
- Proposing a PR to fix a few small typos
- Please tag newer releases HOT 1
- Increase the usage of augmented assignment statements HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-nvd3.