plotly
Here are 994 public repositories matching this topic...
-
Updated
May 12, 2020 - Python
fig.append_trace() raises ValueError if the row arg is not type int, even if arg is int-like:
DEBUG row:1, type(row):<class 'numpy.int64'>
If I explicitly cast to int with row=int(row), all is well. The issue may be due to the isinstance check at line 1536 of basedatatypes.py?
/usr/local/lib/python3.7/site-packages/plotly/basedatatypes.py in _validate_rows_cols(name, n, vals)
1535
Can this App connect clickhouse database ?
What likely needs to happen:
- Docs moved inside of package (OR linked via setuptools)
- Docs read and imported via python
- Docs then parsed and available on a per-widget basis.
The ultimate goal of the above is so that there is never any disconnect between docs and UI. It should always stay in sync.
Plotly has an out of the box responsive flag: https://plotly.com/javascript/configuration-options/#making-a-responsive-chart
We just need to add a boolean responsive
to the Config class.
Many times when I search for some R plotly documentation, I come across a page with a broken shiny app, which essentially renders that page useless. I usually ignored it, but I realize now that it would have been much more productive to make note and report it! So I'll start now :)
The app here doesn't exist: https://plot.ly/r/shinyapp-linked-click/
-
Updated
Jan 17, 2020 - Python
App name
dash-mapd-demo
Description of antipattern
Currently a new db connection is being made in every callback, and sometimes multiple times per callback. We should implement a connection pool (using sqlalchemy is probably easiest) and use that instead to improve performance and to demonstrate be
latex widget
For example: https://github.com/talyssonoc/react-katex
Minimal example below (added marginal=rug
to show where the bars supposedly should land):
import plotly_express as px
fig = px.histogram(
px.data.iris(),
x='petal_width',
color='species',
log_x=True,
marginal='rug',
)
fig
This codepen shows the issue: https://codepen.io/dylanvann/pen/OYaedz
The onHover
handler forces a re-render.
Whenever the Plot is re-rendered some state is lost. In particular the selection is lost.
How it behaves when re-rendering (selection box is not maintained):
H
Should be poses.key()
not poses.items()
https://github.com/mithi/hexapod-robot-simulator/blob/5d0d7beb3e057ee50b36484cdb971477db8db59f/pages/helpers.py#L22
Not sure whether this issue should be here or in ploty.py
, since it depends on the solution.
It would be nice to have links to the API doc https://plot.ly/python-api-reference/ in the code blocks of the Python tutorials, for the classes and functions of plotly.py
. This is something that projects using sphinx-gallery do, see for example https://scikit-learn.org/stable/auto_examples/plot_john
Would it make sense to implement a get_cmap
function as colorcet.cm.get_cmap
that could override Matplotlib's so that external libraries using MPL's get_cmap
could just replace it with Colorcet's get_cmap
if Colorcet is available at runtime? This would make interfaceing with Colorcet super easy for other libraries already leveraging MPL's colormaps.
I'm thinking that this function would
-
Updated
May 6, 2020 - Python
-
Updated
Apr 20, 2020 - Jupyter Notebook
An issue to collect data and tasks needed for adding binance
-
Decrease Callback/ Load Amount to 1 in #40
-
Analyze compatibility
Needed changes in Data call?
Needed changes in Data storage (Multiple times same pair e.g. "ETH-USD") -
Discuss form of presentation
Original:Send all data to client, and hide/ show selection on clientside with js?
Update: Sending all data s
Documentation
The master-source as of 17.09.2019 is missing a requirement and has a grammar-error.
Requirements.txt is missing "textblob", to install it over pip simply type
pip install textblob
or click here get informations how to install it or simply open requirements.txt and simply add
textblob
into a new line.
Under twitter_stream.p
HI,
I've read around and it (Override data cell styling on a cell by cell basis) appears to have been requested in one form or another since 2017, see
https://community.plot.ly/t/dash-datatable-how-to-the-set-background-color-for-individual-cell/6277
Basically, my need is: Each cell has a good/bad value, and I'd like to assign a red/green background color to allow a user to quickly see bad
I have two comments related to the documentation of htmlButton
:
- htmlButton is documented in the core components, which makes sense to me, but it is actually part of the dashHtmlComponents R package. Maybe add a link from the documentation of the HTML components?
- The documentation for htmlButton states that its initial value is `NUL
Similar to #821 , the Dash for R docs also require a sidebar component for searching and filtering chapters/pages of the docs. This may require also building a R specific index since some of the chapters and indices in the Python docs do not yet exist for the R documentation.
Starting a thread for some related ideas that have been sitting on my to-do list.
I think we should provide some help in interpreting the graph. Like a how to read this graph section. (Currently we point folks to the related Minute Physics video, but we can't assume folks have watched this.) This could be some kind of overlay that is shown the first time a user visits the page, which explains
-
Updated
Feb 2, 2020 - Python
-
Updated
Jan 11, 2020 - Jupyter Notebook
-
Updated
Mar 27, 2020 - R
In the tutorial https://plot.ly/matplotlib/histograms/ tutorials matplotlib.pyplot is imported as plt. But during plotting the histogram we are usintg pyplot which gives the error of "pyplot not defined".
I was poking around the codebase to see if there was any guidance on how to respond to plotly hover, click, etc. events when using iheatmapr with shiny.
I landed on the ?iheatmapr_event
man page, which alludes to having an exemplar shiny app in its Examples section:
## Not run:
shiny::runApp(system.file("examples", "shiny_example", package = "iheatmapr"))
## End(Not run)
Improve this page
Add a description, image, and links to the plotly topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the plotly topic, visit your repo's landing page and select "manage topics."
When implemented, there are some community forum requests to follow up on: https://community.plotly.com/t/clientside-callbacks-equivalent-for-dash-callback-context/29305