set DataZoomOpts in Boxplot with vertical mode, and boxplot disappear when zoom
See original GitHub issueProblem
I set DataZoomOpts in Boxplot with vertical mode. However, when I zoom the plot, the box disappears.
Environment I use it in docker. In Dockerfile, I install miniconda to set python environment.
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
/bin/bash Miniconda3-latest-Linux-x86_64.sh -f -b -p $CONDA_DIR
pip install pyecharts
Code and Figure
My code is as follow,
boxplot = Boxplot()
boxplot.add_xaxis([“price”])
boxplot.add_yaxis("value", boxplot.prepare_data(y_data))
boxplot.set_global_opts(
title_opts=opts.TitleOpts(title="price"),
datazoom_opts=[opts.DataZoomOpts(range_start=0, range_end=100, orient="vertical"),
opts.DataZoomOpts(type_="inside", range_start=0, range_end=100, orient="vertical")],
toolbox_opts=opts.ToolboxOpts(),
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Zoom in on plotly boxplot in python by only showing the ...
There is no pre-zooming option in plotly, the only solution is to calculate the Q1 and Q3 and set the range of y-axis...
Read more >A Complete Guide to Box Plots | Tutorial by Chartio
Box plots are a streamlined way of summarizing the distribution of groups of data. Read this article to learn how to best use...
Read more >Box Plots - R
Box Plots. Description. Produce box-and-whisker plot(s) of the given (grouped) values. Usage. boxplot(x, ...) ## S3 method for class 'formula' ...
Read more >Exploring ggplot2 boxplots - Defining limits and adjusting style
boxplot_framework : Styling the boxplot. Let's get our style requirements figured out. First, we can set some basic plot elements for a theme....
Read more >Boxplot chart options | Looker - Google Cloud
Boxplot charts help you visualize the distribution and spread of values in your dataset. Boxplot charts can be especially useful for comparing values...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JisongXie
@sunhailin-Leo Pycharts is the python warpper of echarts. Box in this example also disappear when it zooms out of the axis. Indeed a echarts problem. Thank you!