Comments (7)
Just run the test example in facets_dive/components.
Can you paste the command you used to run? This will help me get to the root cause, thanks!
from facets.
I run it as specified in the readme:
bazel run //facets_dive/components/facets_dive:devserver
It works but instead of the images in test_sprite.png it shows the default colored circles.
test_sprite.png is in the facets_dive/components/facets_dive folder next to facets-dive.html etc.
from facets.
Ok thanks. I believe the problem is that bazel is not picking up your file during the build process. The target //facets_dive/components/facets_dive:devserver
is defined in the file facets_dive/components/facets_dive/BUILD and depends no the :test
target.
I think if you add test_sprite.png
to the deps
of the test target, bazel should pick it up and include it.
ts_web_library(
name = "test",
testonly = True,
srcs = [
"test.html",
"test.ts",
"test_sprite.png", ### ADD THIS ###
],
path = "/facets-dive/components/facets-dive",
deps = [
":facets_dive",
"//facets_dive/lib/test:externs",
"@org_tensorflow_tensorboard//tensorboard/components/tf_imports:web_component_tester",
],
)
from facets.
I included it into the BUILD file, but it still does not show up.
I also changed "atlasUrl" to "test_sprite.png" and spriteImageWidth: 100, spriteImageHeight: 100 in facets-dive.ts, but this also does not help.
from facets.
Ok, if I change settings in facets-dive.html, it works. The docs should note that one has to make this change in the BUILD file:
To specify the URL to an atlas to use, set the atlasUrl property of the Dive Polymer Element in JavaScript (or the atlas-url attribute in HTML).
is not super clear (see also #15)
from facets.
Glad you got it to work! Sorry again for the confusion.
from facets.
Duplicate of #80
from facets.
Related Issues (20)
- Binning | X-Axis selection is not rendering correctly as a dropdown HOT 8
- HTML Imports is deprecated error still here! HOT 5
- Cannot copy text from side panel HOT 2
- Is it possible to increase the max size of the atlas?
- How to load a non local image atlas?
- Questions about Facets structure and dependencies HOT 2
- Facets buttons still too big HOT 1
- Facets as a Data Studio community report HOT 3
- ProtoFromDataFrames fails for dataframes with categorical columns HOT 6
- Can not show column name in jupyter notebook. HOT 3
- How to save the tool outside the jupyter notebook so that the images appear on the display? HOT 4
- Custom stats cut-off with long names
- Why the facets button size is too big to see (again) HOT 2
- Support numpy >= 1.23 HOT 3
- facets dive demo no longer builds HOT 4
- Facet broken under np 1.23
- How to get started with Facets for a simple one-page website? HOT 6
- facets dive is not working in colab HOT 2
- Generate proto files to support protobuf 4.x.x and protoc 3.19.0 HOT 6
- facets_overview is failing with numpy-1.23.5 HOT 1
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 facets.