Skip to main content

All Questions

0 votes
0 answers
6 views

Synthetic Data Vault get_column_plot change legend and title

How do I change title and legend for Synthetic Data Vault get_column_plot command ? The documentation gives no such option at all https://docs.sdv.dev/sdv/single-table-data/evaluation/visualization. I ...
温泽海's user avatar
  • 344
0 votes
1 answer
33 views

Visualizing in python

I am building a credit risk model. I run into problem visualizing the data in a histogram I tried this code: # List of numerical columns for histogram visualization numerical_columns = ['case_id', '...
De Tech Guy's user avatar
0 votes
0 answers
253 views

How can we draw a interactable CIElab Color Space using python and also plot the data points (having color parameters l*,a*, b* , h and C* values)?

I want to measure the color difference between the reference and sample. And also want to show the color shift (difference) on the chart itself. For you reference below is the color space picture. ...
Abhishek Kashyap's user avatar
0 votes
0 answers
39 views

Why the Matplotlib Pyplot cannot show the chart while Seaborn can?

Here is the code and the execution result. fig, axs = plt.subplots(19, 5, figsize=(20,80)) plt.subplots_adjust(hspace=0.5) for i in range(len(column_with_null)): row_loc = i // 5 col_loc =...
tta77's user avatar
  • 1
0 votes
1 answer
81 views

Using flags to incorporate a graphic in plotly - Flagpy in plotly not working

I am trying to make a graphic and put a flag next to it in each barchart. For that I am using flagpy and plotly. But it does not seem like it is working. This is as far as I have gotten. Could you ...
Carles's user avatar
  • 2,809
0 votes
1 answer
41 views

Plotly dash callback to one output with different input functionalities

I'm new to Plotly Dash and wanted to design a dash for the following app but couldn't find how to solve an issue that I'm facing. Here's the scenario: I have a SQL table with the following columns: '...
Jon's user avatar
  • 1
0 votes
2 answers
84 views

How to dynamically change the sheet type theme during runtime

I am working on dynamically changing matplotlib style sheet during runtime. I have initialized a class for matplotlib widget and chosen two styles from matplotlib style sheet reference - let's say ...
A7aa's user avatar
  • 1
3 votes
2 answers
671 views

How can one plot a 3D surface in matplotlib by points' coordinates?

After awhole day of searching, in desperation, I address to you, my dear fellows. I want to draw a 3D surface of human head, for which I have found nice of 3D coordinates (you can download it from my ...
endocringe's user avatar
0 votes
0 answers
39 views

Embedding multiple stacked graphs in PyQt5 application

I am trying to display stacked graphs in a PyQt5 GUI that I've built. Concept of graph I am trying to replicate I am trying to use pyqtgraph as it seems to work with PyQt5 but am I willing to change ...
Pierre Trott's user avatar
0 votes
1 answer
64 views

Python Datashader trying to superimpose images onto each other

I'm rather new to datashader and am doing this as an introductory project and I've hit a snag. I'm trying to plot the numbers from 1 to 10,000 in a spiral like the 3b1b video here, but I want the ...
Robertmg's user avatar
  • 117
0 votes
1 answer
53 views

How to plot lineplot with x axis value starting from some non zero value

I am trying to generate a seasonality plot with each line corresponding to a year (i.e. lines for 2018, 2019, ...) the x-axis values would be the week number of the year (ranging from 1 - 52). However,...
Ryan Seah's user avatar
-1 votes
1 answer
362 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 ...
NoahVerner's user avatar
1 vote
0 answers
26 views

Adding diagonal shading to map of United States

I am making a map of the United States using plotly, and I have a couple states that fall into more than one category. For example, Oregon falls into more than one category, so I want Oregon to be ...
325's user avatar
  • 596
1 vote
1 answer
936 views

How to display intersection values instead of distinct values in Upset plot

I tried to create an upset plot and display intersection among different sets. But my upset plot is displaying dinstinct value counts among sets. How do I change it to intersections instead of ...
Yash's user avatar
  • 337
0 votes
2 answers
294 views

Producing mesh plots in Plotly with non-square X,Y,Z arrays in Python

I am building a sphere with three square arrays, x, y, and z. The shape of each array is (100,100) (that is x.shape = (100, 100)), and I can plot the surface with Plotly: import numpy as np import ...
AaronJPung's user avatar
  • 1,100

15 30 50 per page
1
2 3 4 5
23