plotting
Here are 927 public repositories matching this topic...
Bug summary
The ax.invertxaxis() and ax.invert_yaxis() function both produce the same output, a scatterplot with a flipped X axis.
Code for reproduction
from mpl_toolkits import mplot3d
import matplotlib.pyplot as plt
ax = plt.axes(projection='3d')
plt.title("Invert Z")
ax.scatter3D(1,1,1)
# ax.invert_xaxis()
ax.invert_yaxis()
# ax.invert_zaxis()Actual o
Tests
it's becoming more time-consuming and error-prone to manually re-test all the demos following internal refactorings and API adjustments.
now that the API is fleshed out a bit, it's possible to test a large amount of code (non-granularly) without having to simulate all interactions via Puppeteer or similar.
a lot of code can already be regression-tested by simply running all the demos and val
-
Updated
Jun 11, 2020 - C++
-
Updated
Nov 16, 2021 - Python
-
Updated
Nov 18, 2021 - Python
-
Updated
Nov 16, 2021 - Python
-
Updated
Nov 3, 2021 - Java
It is currently a pain to use an OxyPlot.WinfowsForms.PlotView with a transparent background: it throws if you set its BackColor to transparent. To avoid this, it is necessary to set the ControlStyles.SupportsTransparentBackColor style to true on the PlotView; however, Control.SetStyle is protected, so consumers must resort to reflection or extending PlotView to do so. This could be
I think it could be useful, when one wants to plot only e.g. class 1, to have an option to produce consistent plots for both plot_cumulative_gain and plot_roc
At the moment, instead, only plot_roc supports such option.
Thanks a lot
Annotations don't look good in a Heatmap with a large amount of data and those that are rendered in the high values range are barely visible with the default color map. Heatmaps generated with the Bokeh backend don't have annotations by default.
See this example taken from the reference gallery:
.
From here: http://makie.juliaplots.org/stable/plotting_functions/heatmap.html#MakieCore.heatmap there is really no info, e.g. how to choose colormap, how to set color range.
-
Updated
Sep 21, 2021 - R
-
Updated
Nov 17, 2021 - C#
-
Updated
Sep 10, 2021 - JavaScript
The doctest of find_closest_cell has random data:
Find nearest cell to a point on a sphere, centered on the
origin.
>>> import pyvista
>>> mesh = pyvista.Sphere()
>>> index = mesh.find_closest_cell([0, 0, 0.5])
>>> index
30
Find the nearest cells to several random points that
are centered on the origin.-
Updated
Nov 5, 2021 - OCaml
-
Updated
Sep 22, 2021 - Python
As noted in this Stack Overflow question it would be good to be clear what’s going on in this function, including the equation.
-
Updated
Jun 27, 2021 - R
Improve this page
Add a description, image, and links to the plotting topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the plotting topic, visit your repo's landing page and select "manage topics."
As a follow-up to #11540, we would like to add metadata to as many examples as possible. This will not only make the examples more usable as they are right now, but it will also open up new possibilities to search for and crosslink examples.
For the purpose of this issue, 'examples' are all .py files in the subfolders of the
examplesfolder in this repository.Prerequisites
Adding