davidperezmartorell / forestMap

Map of forests and studies or inventories during the time
0 stars 0 forks source link

me aparecen los boxplots montados #139

Closed davidperezmartorell closed 5 months ago

davidperezmartorell commented 5 months ago

con plotly me aparecen los boxplots montados. se deben separar

davidperezmartorell commented 5 months ago

se puede separar mediante este código

plotStage <- ggplot(result_filtered, aes(x = age_group, y = richness, fill = combined_disturbance)) + geom_boxplot(position = position_dodge(width = 0.8), width = 1) + <- AQUI LOS COMANDOS PARA SEPARAR LOS BLOQUES labs(title = paste("Richness by Stage from all the studies (", num_values, "values represented)"), x = "Age groups", y = "Richness") + theme_minimal() + theme(axis.text.x = element_text(angle = 45, hjust = 1), legend.position = "bottom") + scale_x_discrete()

me aparece este warning que deberíamos revisar si nos interesa filtrar mas

Warning: 'layout' objects don't have these attributes: 'boxmode', 'boxgap' Valid attributes include: '_deprecated', 'activeshape', 'annotations', 'autosize', 'autotypenumbers', 'calendar', 'clickmode', 'coloraxis', 'colorscale', 'colorway', 'computed', 'datarevision', 'dragmode', 'editrevision', 'editType', 'font', 'geo', 'grid', 'height', 'hidesources', 'hoverdistance', 'hoverlabel', 'hovermode', 'images', 'legend', 'mapbox', 'margin', 'meta', 'metasrc', 'modebar', 'newshape', 'paper_bgcolor', 'plot_bgcolor', 'polar', 'scene', 'selectdirection', 'selectionrevision', 'separators', 'shapes', 'showlegend', 'sliders', 'smith', 'spikedistance', 'template', 'ternary', 'title', 'transition', 'uirevision', 'uniformtext', 'updatemenus', 'width', 'xaxis', 'yaxis', 'barmode', 'bargap', 'mapType'