All Questions
13 questions
1
vote
0
answers
73
views
Why is there an offset between grey bars and width of arrows in upper limits
For the image shown below, which shows upper limits in red arrows between two variables X and Y and on the right side there is Z axis showing value of grey bars, why is their an offset between grey ...
-1
votes
1
answer
522
views
How to properly plot a candlestick chart alongside trendlines but considering a y axis with percentage change values using MatPlotLib and Python?
When I was trying to compare 3 financial assets based exclusively on its price series, I realized that to do so all of those price series had to be converted to price change series, so that way, one ...
1
vote
2
answers
307
views
How to adjust the size of a Japanese candlestick chart made with MatPlotLibFinance so that all moving averages get properly-displayed on Python3?
Introduction
I recently learned how to plot Simple Moving Averages (abbreviated "SMA") using the MatPlotLibFinance library on Python3. Simple Moving Averages are trend lines that They help ...
0
votes
1
answer
179
views
Plotting the string value frequency in python
So I have this data frame related to species of spiders and I wanted to see what are the top 10 highest occurring family of spiders. So I used the below code to find it out:
n=10
dfc['family']....
4
votes
1
answer
918
views
How do I disable float numbers in matplotlib [duplicate]
I am making a bot which tracks discord server stats and makes a graph of them.
While making the bot, I faced a problem. The bot shows floating point numbers in the graph which are not supposed to be ...
1
vote
0
answers
74
views
How to plot feature map comprised of tfidf and polarity using pyplot?
I have around 322 text documents. I generated tfidf vector for those documents. I also have polarity assigned to each document(which is a float number). Then I have keywords as columns, and have ...
4
votes
1
answer
5k
views
Is it possible to sort the columns of an Altair grouped bar chart based on the value of one of the categories?
I have the following chart -
I'd like to be able to sort the columns (NOT the individual bars of a single group - I know how to do that already), i.e order the 3 sub-chart - if you will - based on ...
2
votes
1
answer
728
views
Rotated column headers in Altair have uneven offset
Just started learning Altair. I have a simple grouped bar plot where I experimented with rotating the headers. With no rotation I do not see any issue but when I rotate it there is an offset that I ...
2
votes
1
answer
2k
views
Display seaborn plots at some point later in code
Let's say at some point in my code, I have following two graphs: i.e. graph_p_changes and graph_p_contrib
line_grapgh_p_changes = df_p_change[['year','interest accrued', 'trade debts', 'other ...
1
vote
1
answer
124
views
Panning Bokeh GMap programmatically
Is it possible to adjust the centre coordinate of a bokeh google map plot and refresh the plot? I'm intending to centre the selected point according to user input in a bokeh TextInput field.
A piece ...
1
vote
2
answers
7k
views
What are the arguments of seaborn's distplot used for?
I am working with the titanic data-set. For visualizing the distribution of data I am using seaborn plotting methods. But I am not able to understand the arguments of distplot and its final output ...
1
vote
1
answer
250
views
Making a Surface plot using plotly in python3
I am using the sample code to make surface plots in python3 using plotly.
The sample code from plotly is:
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
# Read data ...
2
votes
1
answer
2k
views
Bokeh plot: output file is appending instead of overwritting
The code bellow was working fine, but ultimately it started to append multiple plots in the same HTML file each time the code is executed. That's a odd behavior, according to the Bokeh documentation, ...