Spaces:
				
			
			
	
			
			
		Paused
		
	
	
	
			
			
	
	
	
	
		
		
		Paused
		
	Add basic block introspection table
Browse files- metadash.py +13 -1
    	
        metadash.py
    CHANGED
    
    | @@ -244,4 +244,16 @@ with tab3: | |
| 244 | 
             
                    st.plotly_chart(
         | 
| 245 | 
             
                        plotting.plot_cabals(validators, time_col=x, count_col=count_col, sel_col=color, ntop=ntop, smooth=smooth, smooth_agg=smooth_agg, opacity=opacity), 
         | 
| 246 | 
             
                        use_container_width=True
         | 
| 247 | 
            -
                    )
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 244 | 
             
                    st.plotly_chart(
         | 
| 245 | 
             
                        plotting.plot_cabals(validators, time_col=x, count_col=count_col, sel_col=color, ntop=ntop, smooth=smooth, smooth_agg=smooth_agg, opacity=opacity), 
         | 
| 246 | 
             
                        use_container_width=True
         | 
| 247 | 
            +
                    )
         | 
| 248 | 
            +
                    
         | 
| 249 | 
            +
            with tab4:
         | 
| 250 | 
            +
                
         | 
| 251 | 
            +
                st.markdown('#')
         | 
| 252 | 
            +
                st.markdown('#')
         | 
| 253 | 
            +
                st.subheader('Block Introspection')
         | 
| 254 | 
            +
                st.info('**Block introspection** *shows the complete metagraph of a block*')    
         | 
| 255 | 
            +
                
         | 
| 256 | 
            +
                selected_block = st.selectbox('**Block**', reversed(df_sel.block.unique()), index=0)
         | 
| 257 | 
            +
             | 
| 258 | 
            +
                st.dataframe(df_sel.loc[df_sel['block']==selected_block])
         | 
| 259 | 
            +
                
         | 
