4,372 questions
Score of 1
1 answer
107 views
Add outline to the 3D barchart
So I worked with ChatGPT to create a 3D bar chart with a gradient effect in Python.
I met a problem that I cannot add outlines to bars. If I do so, it will make the bar transparent. GPT says it is a ...
Score of 1
1 answer
120 views
pyqtgraph/PySide6 horizontal gradient flickers when data updates and repeats gradient
Edit: This is potentially a bug with pyqtgraph. See issue created here: https://github.com/pyqtgraph/pyqtgraph/issues/3459
I am using PySide6 with pyqtgraph to display a graph of data where the X-axis ...
Score of 3
1 answer
112 views
Area with color gradient
I created this simple ggplot2 plot and would like to generate a vertical color gradient for the area between y = 0 and the respective values, possibly using geom_ribbon (?). However, I haven’t found ...
Score of 0
1 answer
171 views
how can I create custom Gradient colors in chakra ui v3
I am using this approach
<Box bgImage="gradients.gradientBluePurple_toR_600" w="64" h="64" />
Here’s my current theme setup:
// src/theme/foundations/theme.ts
...
Score of 0
1 answer
100 views
Can I Create a Color Gradient Between Two Values in an Excel Pivot Table?
I need to conditionally format all values between 2 numbers in a pivot table using a color gradient to accentuate the scale of values between that range.
I'd like to not have any color for the rest of ...
Score of 3
2 answers
68 views
Pytorch compute graph don't release as expected
import torch
def analyze_your_actual_code(): """分析你的实际代码"""
a = torch.randn(4, requires_grad=True)
print(f"a: {a}")
print(f"a.grad: {a....
Score of 0
1 answer
88 views
Why is this background gradient grid not pixel perfect?
At first I thought it was some line-height problem (:root is set to 1.25 which is still divisible by the underlying 4px grid) but it's not ...
Removing the <img> from example or setting it's ...
Score of -2
1 answer
287 views
how to do gradient borders in tailwind CSS?
how to do gradient borders in tailwind CSS? i searched on google but found only custom CSS solutions. We can do the background as gradient with Tailwind. is there any way to apply gradient on border ...
Score of 1
0 answers
46 views
GGridges Gradient Fill [duplicate]
I'm using this data to try to plot multiple histograms showing political polarization in Congress over the years (dwnom1). I can get the multiple histogram with ggridges, but everytime I try to apply ...
Score of 0
1 answer
382 views
Background Gradients + Noise Combo
I’m trying to replicate the gradient + noise in the image below.
Gradient + Noise:
So far I think I roughly got the 2 gradients covered but really struggle with the noise here. I tried loads of ...
Score of 2
2 answers
109 views
How to make the gap not covered by the gradient. Or maybe there are some other ways to achieve this result? [duplicate]
I'm trying to apply a single background gradient to a grid of cards (statistic blocks) in React using Tailwind CSS. The goal is to have the gradient visible only on the cards, while the gaps between ...
Score of -3
1 answer
60 views
Can this curve be made from a rectangle image with CSS? [duplicate]
I have some headers on my website and I was wondering if I can make this curve from a rectangle image with CSS.
This is how it looks like:
Is this possible with CSS?
And I also would like to get a ...
Score of 0
2 answers
125 views
How to make a checkbox input with a gradient border?
I made a fancy custom checkbox that animates a gradient in/out when (un)checked. How can I make the checkbox border a gradient, as well? The border gradient should match the fill gradient just like ...
Score of 0
1 answer
103 views
Large differences comparing results of linear_sum_assignment and minimize when using jac and hess
Dear stackoverflow users, I am having some troubles with linear assignment problems using the functions linear_sum_assignment and minimize, both from the scipy library. In order to compare more ...
Score of 2
1 answer
108 views
More efficient way to compute elementwise gradients (Jacobian) in PyTorch while preserving create_graph
I’m currently using PyTorch’s torch.autograd.functional.jacobian to compute per-sample, elementwise gradients of a scalar-valued model output w.r.t. its inputs. I need to keep create_graph=True ...