Comments (3)
@guenp, this one i'll have to look into a little more, my gut feeling is that it's a plotly default thinking that there isn't enough room for the xaxis labels there, but it might also be in the python library. I'll give you a quick fix for this one:
fig = figure(figsize=(6,6))
for m in arange(0,len(data_IV_vs_T_vs_backgate)):
data = data_IV_vs_T_vs_backgate[m]
[Rmatup, Vmatup, Imatup, Rmatdown, Vmatdown, Imatdown, T, B] = data
ax = subplot(1,len(data_IV_vs_T_vs_backgate)+1,m+1)
colormap = cm.jet
colormap.set_gamma(1)
color_cycle = [colormap(i) for i in np.linspace(0, 0.9, len(Rmatup))]
ax.set_color_cycle(color_cycle)
for (t,I,R) in zip(T, Imatup, Rmatup):
label = 'T = ' + str(round(t*1e3)) + ' mK'
plot(I,R,label=label)
xlabel('$I_{dc} (A)$')
ylabel('$R_{xx,ac} (\Omega)$')
title(measnames[m])
width = 1000 # plot width in px
height = 500 # plot height in px
update = {"layout": {"xaxis1": {"tickangle": 0}, "xaxis2": {"tickangle": 0}}}
py.iplot_mpl(fig,
update=update,
filename='/superconductivity_XVII_LSM4_triton2/Rxxac_vs_Idc_vs_T_vs_Vbg',
width=width,
height=height)
from plotly.py.
again, thanks for these issue threads! always extremely helpful.
from plotly.py.
@theengineear thanks, this fixed my problem.
from plotly.py.
Related Issues (20)
- [Feature Request] `plotly.offline.plot` adding `iframe` to `output_type` to render an isolated version of outputs inside iframe
- Inconsistent row and col parameters used to add vline to faceted subplots HOT 1
- `fillgradient` doesn't work when `renderer=vscode` is used on notebook HOT 1
- Sort feature for icicle chart
- Scattergl points disappear when reaching a certain threshold in size difference HOT 5
- Parallel coordinates mixed categrical and numerical values HOT 1
- Docs: "Download as HTML" recommends using a `data:` URL, which is restricted in Dash>=2.15.0 HOT 1
- multiple Legends not working in VS code HOT 2
- px.strip jitter doesn't work as expected due to underlying go.Box config HOT 1
- The color of Scattergl points are missing when using animation HOT 1
- tickmode='sync' option is not working as intended
- Cannot provide custom HTTP headers (e.g. bearer token) to Mapbox layer source HOT 2
- `Legendrank` does not work in plotly (pyscript) when `fill` argument is used HOT 2
- Test dependency versions are out of date
- why isn't fig.update_zaxes implimented
- Hover data not displaying on plotly map HOT 1
- plotly.express.scatter_geo() function cannot generate world map HOT 1
- Plotly legends cutoff in Quarto Dashboards
- Opacity and color not working together in px.scatter HOT 1
- Clarify installation of jupyterlab-plotly extension in documentation for JupyterLab 3.x HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotly.py.