Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

model.plot() not working #44

Open
Scipiock opened this issue Jun 19, 2024 · 3 comments
Open

model.plot() not working #44

Scipiock opened this issue Jun 19, 2024 · 3 comments

Comments

@Scipiock
Copy link

Hello, I am new to this library. I have been looking for one that handles interval censored data and came across it.
I quite like the Surpyval however I have not been able to visualize anything yet as i keep getting this and and empty plot:

"ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'labelfontfamily', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop', 'labelrotation', 'grid_agg_filter', 'grid_alpha', 'grid_animated', 'grid_antialiased', 'grid_clip_box', 'grid_clip_on', 'grid_clip_path', 'grid_color', 'grid_dash_capstyle', 'grid_dash_joinstyle', 'grid_dashes', 'grid_data', 'grid_drawstyle', 'grid_figure', 'grid_fillstyle', 'grid_gapcolor', 'grid_gid', 'grid_in_layout', 'grid_label', 'grid_linestyle', 'grid_linewidth', 'grid_marker', 'grid_markeredgecolor', 'grid_markeredgewidth', 'grid_markerfacecolor', 'grid_markerfacecoloralt', 'grid_markersize', 'grid_markevery', 'grid_mouseover', 'grid_path_effects', 'grid_picker', 'grid_pickradius', 'grid_rasterized', 'grid_sketch_params', 'grid_snap', 'grid_solid_capstyle', 'grid_solid_joinstyle', 'grid_transform', 'grid_url', 'grid_visible', 'grid_xdata', 'grid_ydata', 'grid_zorder', 'grid_aa', 'grid_c', 'grid_ds', 'grid_ls', 'grid_lw', 'grid_mec', 'grid_mew', 'grid_mfc', 'grid_mfcalt', 'grid_ms']"

Is anyone else experiencing this?

@leester1690
Copy link

Exactly the same for me. This is probably coming from a subsequent matplotlib update where the grid_b keyword has been deprecated. I suppose this is why we have virtual environments to avoid problems like this. I don't know what the replacement is for grid_b yet, but if/until surpyval is updated, you'll need to adjust the package's source code.

@leester1690
Copy link

By the way, the reason I stumbled on surpyval is that reliability doesn't handle interval-censored data, which for my applications is necessary. surpyval is linked in the reliability docs. I can tell you that the Gumbel (SEV) example for multi-censored data in surpyal does exactly match what I generated in JMP, so I know surpyval is accurate for at least that example. Bummer I can't plot it though.

@Zjiangliuer
Copy link

same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants